mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: move model settings page to ai settings
This commit is contained in:
@@ -40,8 +40,7 @@ To configure Coder Agents:
|
||||
1. Navigate to **Admin settings** > **AI** and select **Providers**.
|
||||
1. Add or update a provider with its credentials and upstream endpoint, then
|
||||
save it.
|
||||
1. Navigate to the **Agents** page, open **Settings** > **Manage Agents**, and
|
||||
select **Models**.
|
||||
1. Navigate to **Admin settings** > **AI** > **Models**.
|
||||
1. Click **Add** and configure at least one model with its identifier, display
|
||||
name, and context limit.
|
||||
1. Click the **star icon** next to a model to set it as the default.
|
||||
@@ -217,8 +216,8 @@ sub-agent delegation, and complex multi-step work can consume significant
|
||||
token volume. Consider:
|
||||
|
||||
- Starting with a single model to establish a cost baseline.
|
||||
- Setting per-model token pricing under **Agents** > **Settings** >
|
||||
**Manage Agents** > **Models** (Input Price, Output Price) to track spend.
|
||||
- Setting per-model token pricing under **Admin settings** > **AI** >
|
||||
**Models** (Input Price, Output Price) to track spend.
|
||||
- Monitoring provider dashboards for usage trends during the evaluation.
|
||||
|
||||
### Pilot with a small group
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Models
|
||||
|
||||
Administrators configure LLM providers from **Admin settings** > **AI** and
|
||||
Coder Agents models from the **Agents** settings page. Providers, models, and
|
||||
centrally managed credentials are deployment-wide settings managed by platform
|
||||
teams. Developers select from the set of models that an administrator has
|
||||
Coder Agents models from **Admin settings** > **AI** > **Models**. Providers,
|
||||
models, and centrally managed credentials are deployment-wide settings managed
|
||||
by platform teams. Developers select from the set of models that an administrator has
|
||||
enabled.
|
||||
|
||||
Optionally, administrators can enable AI Gateway Bring Your Own Key (BYOK)
|
||||
@@ -49,9 +49,8 @@ settings page.
|
||||
[endpoint/base URL](#endpointbase-url-for-openai-compatible-providers).
|
||||
1. Click **Save**.
|
||||
|
||||
After saving a provider, add an Agents model for it from **Agents** >
|
||||
**Settings** > **Manage Agents** > **Models**. For provider-specific setup,
|
||||
including AWS Bedrock, see
|
||||
After saving a provider, add an Agents model for it from **Admin settings** >
|
||||
**AI** > **Models**. For provider-specific setup, including AWS Bedrock, see
|
||||
[AI Gateway provider configuration](../ai-gateway/providers.md#provider-types).
|
||||
|
||||
## Endpoint/base URL for OpenAI-compatible providers
|
||||
@@ -122,7 +121,7 @@ generation parameters, and provider-specific options.
|
||||
|
||||
### Add a model
|
||||
|
||||
1. Open **Settings** > **Manage Agents** and select the **Models** tab.
|
||||
1. Navigate to **Admin settings** > **AI** > **Models**.
|
||||
1. Click **Add** and select the provider for the new model.
|
||||
1. Enter the **Model Identifier**, the exact model string your provider
|
||||
expects (e.g., `claude-opus-4-6`, `gpt-5.3-codex`).
|
||||
|
||||
@@ -71,8 +71,8 @@ configured once in the control plane:
|
||||
1. Navigate to **Admin settings** > **AI** and select **Providers**.
|
||||
1. Add or update a provider with its credentials and upstream endpoint, then
|
||||
save it.
|
||||
1. Navigate to the **Agents** page, open **Settings** > **Manage Agents** >
|
||||
**Models**, add at least one model, and set it as the default.
|
||||
1. Navigate to **Admin settings** > **AI** > **Models**, add at least one model,
|
||||
and set it as the default.
|
||||
|
||||
You no longer pass API keys in template variables or workspace environment. See https://coder.com/docs/ai-coder/agents/getting-started for more information.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user