goose
goose copied to clipboard
Desktop: No Custom Headers field for custom OpenAI-compatible providers
Describe the bug
Desktop UI does not provide a way to configure custom headers for OpenAI-compatible custom providers. CLI supports this feature, but Desktop users have no equivalent option.
To Reproduce
- Open goose Desktop > Settings > Models > Configure providers
- Click
Add Custom Provider - Select
OpenAI Compatibleas the Provider Type - Observe that there is no field for custom headers
- Compare with CLI: run
goose configure>Custom Providers>Add A Custom Provider>OpenAI Compatiblewhere you're prompted to add custom headers
Expected behavior Desktop should provide a way to configure/view/edit custom headers for OpenAI-compatible custom providers, matching CLI functionality.
Screenshots N/A
Please provide the following information
- OS & Arch: macOS
- Interface: UI (goose Desktop)
- Version: v1.16.0
- Extensions enabled: N/A
- Provider & Model: Custom OpenAI-compatible provider
Additional context PR #5017 added backend support for custom headers, including:
UpdateCustomProviderRequestincludesheadersfieldopenapi.jsonandtypes.gen.tshave the schema- CLI flow works correctly
Fix: Add a headers input field to CustomProviderForm.tsx that captures and submits headers using the existing backend support.
@dianed-square , can I work on this?