Skip to content

OpenAI key becomes the string "true" in the edit dialog #4029

@understood-the-assignment

Description

Describe the bug

If you configure the OpenAI provider, but then go to edit it, the API key is reset to the string "true".

(It shows up as ••••)

To Reproduce
Steps to reproduce the behavior:

  1. Start Goose for the first time
  2. Configure OpenAI provider
  3. Go to Settings -> Configure Providers -> OpenAI

Expected behavior
Should preserve entered values.

Screenshots

Image

Please provide following information:

  • OS & Arch: Windows 11
  • Interface: UI
  • Version: 1.3.0
  • Extensions enabled: No
  • Provider & Model: OpenAI

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2Priority 2 - Medium

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions