mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-25 17:14:54 +00:00
feat: refresh model list for API-key providers at the managed endpoint (#1824)
* feat: refresh model list for API-key providers at the managed endpoint * docs: simplify changeset wording * docs: add kimi-code/k3 to the default config example * fix: clear stale default model when a refresh drops its alias * fix: clear refresh defaults via replace; set(undefined) cannot delete * docs: drop the auto model refresh paragraph from providers page * docs: simplify changeset wording
This commit is contained in:
parent
a5c568dc7a
commit
bfecd0128f
13 changed files with 1017 additions and 37 deletions
|
|
@ -23,7 +23,7 @@ TOML field names always use snake_case, for example `default_model` and `max_con
|
|||
The following example covers the most commonly used configuration fields. You can copy it and adjust as needed:
|
||||
|
||||
```toml
|
||||
default_model = "kimi-code/kimi-for-coding"
|
||||
default_model = "kimi-code/k3"
|
||||
default_permission_mode = "manual"
|
||||
default_plan_mode = false
|
||||
merge_all_available_skills = true
|
||||
|
|
@ -34,6 +34,15 @@ type = "kimi"
|
|||
base_url = "https://api.kimi.com/coding/v1"
|
||||
api_key = ""
|
||||
|
||||
[models."kimi-code/k3"]
|
||||
provider = "managed:kimi-code"
|
||||
model = "k3"
|
||||
max_context_size = 1048576
|
||||
capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ]
|
||||
display_name = "K3"
|
||||
support_efforts = [ "max" ]
|
||||
default_effort = "max"
|
||||
|
||||
[models."kimi-code/kimi-for-coding"]
|
||||
provider = "managed:kimi-code"
|
||||
model = "kimi-for-coding"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ TOML 字段名一律用下划线(snake_case),如 `default_model`、`max_co
|
|||
以下示例覆盖最常用的配置项,可直接复制后按需修改:
|
||||
|
||||
```toml
|
||||
default_model = "kimi-code/kimi-for-coding"
|
||||
default_model = "kimi-code/k3"
|
||||
default_permission_mode = "manual"
|
||||
default_plan_mode = false
|
||||
merge_all_available_skills = true
|
||||
|
|
@ -34,6 +34,15 @@ type = "kimi"
|
|||
base_url = "https://api.kimi.com/coding/v1"
|
||||
api_key = ""
|
||||
|
||||
[models."kimi-code/k3"]
|
||||
provider = "managed:kimi-code"
|
||||
model = "k3"
|
||||
max_context_size = 1048576
|
||||
capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ]
|
||||
display_name = "K3"
|
||||
support_efforts = [ "max" ]
|
||||
default_effort = "max"
|
||||
|
||||
[models."kimi-code/kimi-for-coding"]
|
||||
provider = "managed:kimi-code"
|
||||
model = "kimi-for-coding"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue