mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-30 17:14:40 +08:00
Apply suggestion from @chrarnoldus
This commit is contained in:
committed by
GitHub
parent
2d9e55d914
commit
033aefec9a
@@ -121,7 +121,7 @@ Then set your default model using the `provider-id/model-id` format:
|
||||
|
||||
**Configuration fields:**
|
||||
|
||||
- **`npm`** — The API protocol package. Use `@ai-sdk/openai-compatible` for OpenAI Chat Completions-compatible endpoints (the default when omitted), `@ai-sdk/openai` for OpenAI Responses endpoints, or `@ai-sdk/anthropic` for Anthropic Messages endpoints.
|
||||
- **`npm`** — The API protocol package. Use `@ai-sdk/openai-compatible` for OpenAI Chat Completions-compatible endpoints (the default when omitted). Other possible values include `@ai-sdk/openai` for OpenAI Responses endpoints and `@ai-sdk/anthropic` for Anthropic Messages endpoints.
|
||||
- **`models`** — A map of model IDs to model definitions. Each model should include a `name` and `limit` with `context` and `output` token counts. If `limit.context` or `limit.output` is omitted, it defaults to `0`, which limits context management.
|
||||
- **`options.baseURL`** — The base URL of your provider's API endpoint. For Azure OpenAI GPT-5, configure `provider.azure` instead.
|
||||
- **`options.apiKey`** — Your API key. Use any non-empty string (e.g., `"none"`) if the provider doesn't require authentication.
|
||||
|
||||
Reference in New Issue
Block a user