Skip to content

fix: setup not working with custom provider - #15

Open
Adnan-Najjar wants to merge 1 commit into
KalvadTech:mainfrom
Adnan-Najjar:fix/setup-custom-provider
Open

Adnan-Najjar wants to merge 1 commit into
KalvadTech:mainfrom
Adnan-Najjar:fix/setup-custom-provider

Conversation

@Adnan-Najjar

Copy link
Copy Markdown

--setup writes llm.provider = "custom" without adding any
[custom_providers.<name>] entry, as the docs says and the generated
config fails at startup.

  • When custom is selected, an extra question asks for the provider name
  • build_config adds the named [custom_providers.<name>] entry with
    its api_key and base_url

`--setup` writes `llm.provider = "custom"` without adding any
`[custom_providers.<name>]` entry, as the docs says and the generated
config fails at startup.

- When `custom` is selected, an extra question asks for the provider name
- `build_config` adds the named `[custom_providers.<name>]` entry with
  its `api_key` and `base_url`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant