-
Notifications
You must be signed in to change notification settings - Fork 3.1k
docs: clarify custom provider configuration #2287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1137,6 +1137,7 @@ fn config_hint_for_key(key: &str) -> &'static str { | |||||||||
| "theme" => "system | dark | light | grayscale", | ||||||||||
| "locale" => "auto | en | ja | zh-Hans | pt-BR", | ||||||||||
| "background_color" => "#RRGGBB | default", | ||||||||||
| "base_url" => "save user config; e.g. https://api.deepseek.com/beta or https://gateway/v1", | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The prefix
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| "default_mode" => "agent | plan | yolo", | ||||||||||
| "sidebar_width" => "10..=50", | ||||||||||
| "sidebar_focus" => "auto | work | tasks | agents | context | hidden", | ||||||||||
|
|
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base_urlandmodellines inside[providers.deepseek]— the original defaults and the new custom-endpoint examples. If a user naively uncomments both groups, TOML parsers that enforce unique keys will error; others will silently use the last value. Adding a clear mutual-exclusion note or restructuring so only one pair appears at a time would prevent the confusion.