Merge pull request #10604 from continuedev/nate/docs-images

docs: add Improving Your Checks page
This commit is contained in:
Nate Sesti 2026-02-17 20:05:43 -08:00 • committed by GitHub
commit 31cb79088d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 232 additions and 90 deletions

View file

@ -35,9 +35,9 @@ import { BaseLLM } from "../index.js";
class Anthropic extends BaseLLM {
static providerName = "anthropic";
static defaultOptions: Partial<LLMOptions> = {
model: "claude-3-5-sonnet-latest",
model: "claude-sonnet-4-6",
completionOptions: {
model: "claude-3-5-sonnet-latest",
model: "claude-sonnet-4-6",
maxTokens: 8192,
},
apiBase: "https://api.anthropic.com/v1/",

View file

@ -197,6 +197,8 @@ class CometAPI extends OpenAI {
"o3-pro-2025-06-10",
// Claude series
"claude-sonnet-4-6",
"claude-opus-4-6",
"claude-opus-4-1-20250805",
"claude-opus-4-1-20250805-thinking",
"claude-sonnet-4-20250514",

View file

@ -17,7 +17,23 @@ function calculateAnthropicCost(
string,
{ input: number; output: number; cacheWrite: number; cacheRead: number }
> = {
// Claude Opus 4.5 (most intelligent model)
// Claude Sonnet 4.6
"claude-sonnet-4-6": {
input: 3,
output: 15,
cacheWrite: 3.75,
cacheRead: 0.3,
},
// Claude Opus 4.6
"claude-opus-4-6": {
input: 5,
output: 25,
cacheWrite: 6.25,
cacheRead: 0.5,
},
// Claude Opus 4.5 (previous generation)
"claude-opus-4-5": {
input: 5,
output: 25,

View file

@ -35,7 +35,7 @@ Use Mission Control to kick off Cloud Agents for:
</Steps>
<Info>
**New to agents?** Check out our [pre-configured agents](/agents/overview#pre-configured-agents) to test out a workflow immediately.
**New to agents?** Check out our [pre-configured agents](/mission-control/beyond-checks) to test out a workflow immediately.
</Info>
## Try a Cloud Agent First: Your 60-Second Challenge

View file

@ -25,7 +25,7 @@ You select a code section with your mouse, press `cmd/ctrl` + `L` (VS Code) or `
## Use @ to Include Project Context in AI Chat Responses
If there is information from the codebase, documentation, IDE, or other tools that you want to include as context, you can type @ to select and include it as context. You can learn more about how to use this in [Chat context selection](/ide-extensions/chat/quick-start#how-to-use--for-additional-context).
If there is information from the codebase, documentation, IDE, or other tools that you want to include as context, you can type @ to select and include it as context. You can learn more about how to use this in [Chat context selection](/ide-extensions/chat/quick-start).
## Insert AI-Generated Code Changes Directly into Your File

44
docs/checks/iterating.mdx Normal file
View file

@ -0,0 +1,44 @@
---
title: "Improving Your Checks"
---
Checks improve over time as you review results and provide feedback. There are two main levers: metrics to identify which checks need work, and rejection feedback to tune behavior.
## Use metrics to find noisy checks
The [Metrics](/mission-control/metrics) page shows acceptance and rejection rates per check across your repositories. A high rejection rate tells you a check is producing unhelpful suggestions and needs refinement.
![Shared Metrics dashboard showing acceptance rates, agent activity, and check outcomes](/images/checks-metrics-dashboard.png)
Start there to identify which checks to focus on before diving into feedback or prompt edits.
## Provide feedback when rejecting
When you reject a check result on the PR review page, a dialog appears where you can explain why the suggestion was wrong. This feedback is saved and included in the check's system prompt on future runs, so the check learns from your corrections.
To leave feedback:
1. Click **Reject** on a check result.
2. Write feedback explaining why the suggestion was unhelpful.
3. Click **Refine** to have AI polish your raw feedback into concise instructions.
4. Submit the rejection.
Good feedback is specific and actionable:
| Good feedback | Bad feedback |
| --- | --- |
| "Don't flag `console.log` in test files" | "Be better" |
| "Ignore TODO comments in draft PRs" | "Too many false positives" |
| "Only flag missing error handling in public API endpoints, not internal helpers" | "Wrong" |
The more precise your feedback, the faster the check improves.
## Adjust sensitivity
The rejection dialog also lets you set a sensitivity level for the check:
- **Conservative** — only flag critical issues (high confidence required)
- **Balanced** — default behavior
- **Thorough** — flag all potential improvements, even when not fully certain
If a check is producing too many low-value suggestions, try lowering the sensitivity to **Conservative**. If it's missing real issues, raise it to **Thorough**.

View file

@ -32,6 +32,8 @@ When a pull request is opened, reopened, or updated:
4. If a check fails, it shows a red X with a suggested diff.
5. Click the check details link in GitHub to see the full reasoning on continue.dev.
![GitHub PR showing Continue checks with pass and fail status](/images/checks-pr-status.png)
## Accept or reject suggestions
When a check fails and suggests changes:
@ -41,3 +43,5 @@ When a check fails and suggests changes:
3. **Accept** to apply the changes as a commit to the PR branch.
4. **Reject** to dismiss the suggestion. The check will re-run on the next push.
![Continue check review page showing suggested diff with accept and reject options](/images/checks-accept-reject.png)

View file

@ -20,6 +20,10 @@ Type `/check` in your coding agent. It discovers every check file in `.continue/
/check
```
![Terminal output showing checks being discovered and launched](/images/checks-local-running.png)
![Check results summary showing pass, fail, and warning status for each check](/images/checks-local-results.png)
## Iterate on a check
The local feedback loop is: edit the check file, run `/check`, read the output, refine. Because checks run inside your coding agent, you can ask it to fix issues in the same session:

View file

@ -73,7 +73,7 @@ context: - provider: docs
Note that this will only enable the `@Docs` context provider.
To use it, you need to add a documentation site to your config file. See the [docs](/customize/overview#documentation-context) page for more information.
To use it, you need to add a documentation site to your config file. See the [docs](/guides/codebase-documentation-awareness) page for more information.
### @Open Context Provider – Reference All Open Files or Pinned Files
@ -114,7 +114,7 @@ context:
- provider: codebase
```
Read more about indexing and retrieval [here](/customize/overview#codebase-context).
Read more about indexing and retrieval [here](/guides/codebase-documentation-awareness).
### @Folder Context Provider – Reference Code from a Specific Folder

View file

@ -171,7 +171,7 @@ models:
#### JSON Configuration (Deprecated)
The `config.json` configuration format offers configuration options through `tabAutocompleteOptions`. See the [JSON Reference](/reference/json-reference#tabautocomplete-options) for more details.
The `config.json` configuration format offers configuration options through `tabAutocompleteOptions`. See the [JSON Reference](/reference/json-reference#tabautocompleteoptions) for more details.
## Autocomplete FAQs and Troubleshooting in Continue

View file

@ -35,8 +35,8 @@ See the full reference for `config.yaml` [here](/reference).
</Info>
- [`config.json`](/reference) - The original configuration format which is stored in a file at the same location as `config.yaml`
- [`.continuerc.json`](#how-to-use-continuercjson-for-workspace-configuration) - Workspace-level configuration
- [`config.ts`](#how-to-use-configts-for-advanced-configuration) - Advanced configuration (probably unnecessary) - a TypeScript file in your home directory that can be used to programmatically modify (_merged_) the `config.json` schema:
- `.continuerc.json` - Workspace-level configuration
- `config.ts` - Advanced configuration (probably unnecessary) - a TypeScript file in your home directory that can be used to programmatically modify (_merged_) the `config.json` schema:
- `~/.continue/config.ts` (MacOS / Linux)
- `%USERPROFILE%\.continue\config.ts` (Windows)

View file

@ -153,7 +153,7 @@ models:
## How to Troubleshoot Capability Issues
For troubleshooting capability-related issues like Agent mode being unavailable or tools not working, see the [Troubleshooting guide](/troubleshooting#agent-mode-is-unavailable-or-tools-aren’t-working).
For troubleshooting capability-related issues like Agent mode being unavailable or tools not working, see the [Troubleshooting guide](/faqs#agent-mode-is-unavailable-or-tools-arent-working).
## Best Practices for Model Capabilities

View file

@ -45,7 +45,7 @@ sidebarTitle: "Anthropic"
</Tabs>
<Info>
**Check out a more advanced configuration [here](https://continue.dev/anthropic/claude-sonnet-4-5?view=config)**
**Check out a more advanced configuration [here](https://continue.dev/anthropic/claude-sonnet-4-6?view=config)**
</Info>
## How to Enable Prompt Caching with Claude

View file

@ -212,7 +212,7 @@ context:
```
<Tip>
Learn more about [model blocks](/reference#models) and [local blocks](/reference#local-blocks).
Learn more about [model blocks](/reference#models).
</Tip>
</Tab>

View file

@ -25,7 +25,7 @@ You can add `embed` to a model's `roles` to specify that it can be used to embed
If you have the ability to use any model, we recommend `voyage-code-3`, which is listed below along with the rest of the options for embeddings models.
If you want to generate embeddings locally, we recommend using `nomic-embed-text` with [Ollama](../model-providers/top-level/ollama#embeddings-model).
If you want to generate embeddings locally, we recommend using `nomic-embed-text` with [Ollama](../model-providers/top-level/ollama).
### Voyage AI
@ -65,7 +65,7 @@ After obtaining an API key from [here](https://www.voyageai.com/), you can confi
### Ollama
See [here](../model-providers/top-level/ollama#embeddings-model) for instructions on how to use Ollama for embeddings.
See [here](../model-providers/top-level/ollama) for instructions on how to use Ollama for embeddings.
### Transformers.js (currently VS Code only)
@ -134,7 +134,7 @@ See [here](../model-providers/top-level/ollama#embeddings-model) for instruction
### OpenAI
See [here](../model-providers/top-level/openai#how-to-configure-openai-embeddings-models) for instructions on how to use OpenAI for embeddings.
See [here](../model-providers/top-level/openai) for instructions on how to use OpenAI for embeddings.
### Cohere
@ -142,23 +142,23 @@ See [here](../model-providers/more/cohere#embeddings-model) for instructions on
### Gemini
See [here](../model-providers/top-level/gemini#how-to-configure-gemini-embeddings-models) for instructions on how to use Gemini for embeddings.
See [here](../model-providers/top-level/gemini) for instructions on how to use Gemini for embeddings.
### Vertex
See [here](../model-providers/top-level/vertexai#how-to-configure-vertex-ai-embeddings-models) for instructions on how to use Vertex for embeddings.
See [here](../model-providers/top-level/vertexai) for instructions on how to use Vertex for embeddings.
### Mistral
See [here](../model-providers/more/mistral#how-to-configure-mistral-embeddings-models) for instructions on how to use Mistral for embeddings.
See [here](../model-providers/more/mistral) for instructions on how to use Mistral for embeddings.
### NVIDIA
See [here](../model-providers/more/nvidia#embeddings-model) for instructions on how to use NVIDIA for embeddings.
See [here](../model-providers/more/nvidia) for instructions on how to use NVIDIA for embeddings.
### Bedrock
See [here](../model-providers/top-level/bedrock#how-to-configure-amazon-bedrock-embeddings-models) for instructions on how to use Bedrock for embeddings.
See [here](../model-providers/top-level/bedrock) for instructions on how to use Bedrock for embeddings.
### WatsonX
@ -166,4 +166,4 @@ See [here](../model-providers/more/watsonx#embeddings-model) for instructions on
### LMStudio
See [here](../model-providers/top-level/lmstudio#embeddings-model) for instructions on how to use LMStudio for embeddings.
See [here](../model-providers/top-level/lmstudio) for instructions on how to use LMStudio for embeddings.

View file

@ -38,10 +38,10 @@ Read more about [model roles](/customize/model-roles), [model capabilities](/cus
# Frontier Models
[Claude Sonnet 4.5](https://continue.dev/anthropic/claude-sonnet-4-5) from Anthropic
[Claude Sonnet 4.6](https://continue.dev/anthropic/claude-sonnet-4-6) from Anthropic
1. Get your API key from [Anthropic](https://console.anthropic.com/)
2. Add[Claude Sonnet 4.5](https://continue.dev/anthropic/claude-sonnet-4-5) to a config on Continue Mission Control
2. Add [Claude Sonnet 4.6](https://continue.dev/anthropic/claude-sonnet-4-6) to a config on Continue Mission Control
3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/mission-control/secrets/secret-types#user-secrets) on Continue Mission Control [here](https://continue.dev/settings/secrets)
4. Click `Reload config` in the config selector in the Continue IDE extension

View file

@ -29,6 +29,7 @@
"pages": [
"checks/generating-checks",
"checks/best-practices",
"checks/iterating",
"checks/reference"
]
},

View file

@ -45,7 +45,7 @@ Before starting, ensure you have:
1. [Continue Docs MCP](https://continue.dev/continuedev/continue-docs-mcp)
2. [Mintlify Technical Writing Rule](https://continue.dev/mintlify/technical-writing-rule)
See the [CONTRIBUTING guide](/CONTRIBUTING#option-2-create-your-own-custom-agent) for details.
See the [CONTRIBUTING guide](/CONTRIBUTING) for details.
</Tab>
</Tabs>
@ -329,7 +329,7 @@ The agent will:
- Open the PR for review
<Info>
See the full [Contributing Guide](/CONTRIBUTING#submitting-your-contribution) for manual PR submission details.
See the full [Contributing Guide](/CONTRIBUTING) for manual PR submission details.
</Info>
---

View file

@ -84,7 +84,7 @@ There are multiple ways to configure Ollama models in Continue:
### Method 1: Using Hub Model Blocks in Local config.yaml
The easiest way is to use [pre-configured model blocks](/reference#local-blocks) from the Continue Mission Control in your local configuration:
The easiest way is to use [pre-configured model blocks](/reference#models) from the Continue Mission Control in your local configuration:
```yaml title="~/.continue/configs/config.yaml"
name: My Local Config

View file

@ -183,7 +183,7 @@ You only need to configure the PostHog MCP credential - it automatically handles
You could also
1. Pass `--rule bekah-hawrot-weigel/posthog-github-continuous-ai-rules` to `cn` OR
2. Copy the rules to your local `.continue/rules` folder. See the [Rules Guide](/customize/deep-dives/rules#how-to-create-and-manage-rules-in-continue).
2. Copy the rules to your local `.continue/rules` folder. See the [Rules Guide](/customize/deep-dives/rules#how-to-create-rules).
</Step>
<Step title="Create Your Custom Prompts">
Use this prompt with Continue CLI to analyze PostHog data and create GitHub issues:

View file

@ -59,7 +59,7 @@ You can switch to `Agent` in the mode selector below the chat input box. The mod
### How to Chat with Agent mode
Agent mode lives within the same interface as [Chat](/ide-extensions/chat/how-it-works) mode, so the same [input](/ide-extensions/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/ide-extensions/chat/quick-start#how-to-use--for-additional-context) or adding [highlighted code from the editor](/ide-extensions/chat/quick-start#how-to-include-code-context).
Agent mode lives within the same interface as [Chat](/ide-extensions/chat/how-it-works) mode, so the same [input](/ide-extensions/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/ide-extensions/chat/context-selection) or adding [highlighted code from the editor](/ide-extensions/chat/quick-start#how-to-include-code-context).
#### How to Use Natural Language with Agent mode

View file

@ -24,7 +24,7 @@ Language models aren't perfect, but can be made much closer by adjusting their o
- Fixing indentation for proper formatting
- Occasionally discarding low-quality responses, such as those with excessive repetition
You can learn more about how it works in the [Autocomplete deep dive](/customize/models#autocomplete).
You can learn more about how it works in the [Autocomplete deep dive](/customize/deep-dives/autocomplete).
<Info>
**Looking for AI that predicts your next changes or additions?** Check out

View file

@ -21,7 +21,7 @@ You can switch to `Plan` in the mode selector below the chat input box.
### Chat with Plan
Plan mode lives within the same interface as [Chat mode](/ide-extensions/chat/how-it-works) and [Agent mode](/ide-extensions/agent/how-it-works), so the same [input](/ide-extensions/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/ide-extensions/chat/quick-start#how-to-use--for-additional-context) or adding [highlighted code from the editor](/ide-extensions/chat/quick-start#how-to-include-code-context).
Plan mode lives within the same interface as [Chat mode](/ide-extensions/chat/how-it-works) and [Agent mode](/ide-extensions/agent/how-it-works), so the same [input](/ide-extensions/chat/quick-start#how-to-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/ide-extensions/chat/context-selection) or adding [highlighted code from the editor](/ide-extensions/chat/quick-start#how-to-include-code-context).
#### What Makes Plan Different

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

View file

@ -12,7 +12,7 @@ Mission Control is where developers and teams use Continue to power everyday cod
<Card title="Beyond Checks" icon="list" href="/mission-control/beyond-checks">
Agents, triggers, and automation beyond PR reviews.
</Card>
<Card title="Manage Your Cloud Agents" icon="robot" href="/agents/intro">
<Card title="Manage Your Cloud Agents" icon="robot" href="/mission-control/beyond-checks">
Configure, run, and monitor your custom Cloud Agents across repositories.
</Card>
<Card title="Connect Integrations" icon="plug" href="/mission-control/integrations">
@ -74,7 +74,7 @@ Track performance, share configurations across your organization, and monitor Cl
Share Cloud Agents with teammates using built-in access controls.
</Card>
<Card title="Cloud Agent Monitoring" icon="radar" href="/mission-control/beyond-checks#running-agents">
<Card title="Cloud Agent Monitoring" icon="radar" href="/mission-control/beyond-checks#agents">
View active runs, logs, and outcomes for every Cloud Agent session.
</Card>

View file

@ -87,7 +87,7 @@ The `models` section defines the language models used in your configuration. Mod
- `maxStopWords`: Maximum number of stop words allowed, to avoid API errors with extensive lists.
- `promptTemplates`: Can be used to override the default prompt templates for different model roles. Valid values are [`chat`](), [`edit`](/customize/model-roles/edit#edit-prompt-templating), [`apply`](/customize/model-roles/apply#apply-prompt-templating) and [`autocomplete`](/customize/model-roles/autocomplete#autocomplete-prompt-templating). The `chat` property must be a valid template name, such as `llama3` or `anthropic`.
- `promptTemplates`: Can be used to override the default prompt templates for different model roles. Valid values are [`chat`](), [`edit`](/customize/model-roles/edit#prompt-templating), [`apply`](/customize/model-roles/apply#prompt-templating) and [`autocomplete`](/customize/model-roles/autocomplete#prompt-templating). The `chat` property must be a valid template name, such as `llama3` or `anthropic`.
- `chatOptions`: If the model includes role `chat`, these settings apply for Agent and Chat mode:

View file

@ -131,7 +131,7 @@ If you have set up an [embeddings provider](../customize/model-roles/embeddings.
### How to Configure Reranking for Better Results
As with [@Codebase context provider configuration](./deprecated-codebase#configuration), you can adjust the reranking behavior of the `@Docs` context provider with the `nRetrieve`, `nFinal`, and `useReranking`.
As with [@Codebase context provider configuration](./deprecated-codebase), you can adjust the reranking behavior of the `@Docs` context provider with the `nRetrieve`, `nFinal`, and `useReranking`.
<Tabs>
<Tab title="YAML">

View file

@ -115,7 +115,7 @@ models:
if (configExists) {
const configContent = await fs.readFile(configPath, "utf-8");
expect(configContent).toContain("anthropic/claude-sonnet-4-5");
expect(configContent).toContain("anthropic/claude-sonnet-4-6");
expect(configContent).toContain(
"ANTHROPIC_API_KEY: TEST-test-invalid-key-format",
);

View file

@ -537,7 +537,7 @@ describe("ConfigService", () => {
uriType: "slug",
fullSlug: {
ownerSlug: "anthropic",
packageSlug: "claude-sonnet-4-5",
packageSlug: "claude-sonnet-4-6",
versionSlug: "1.0.0",
},
},

View file

@ -31,7 +31,7 @@ const DEFAULT_MODEL_IDENTIFIER: PackageIdentifier = {
uriType: "slug",
fullSlug: {
ownerSlug: "anthropic",
packageSlug: "claude-sonnet-4-5",
packageSlug: "claude-sonnet-4-6",
versionSlug: "1.0.0",
},
};

View file

@ -62,14 +62,11 @@ describe("TUIChat - User Input Tests", () => {
expect(frame).toBeDefined();
expect(frame).not.toBe("");
// UI should still be functional and show the typed special characters
// Note: "Ask anything" placeholder is replaced when text is typed
expect(frame).toContain("!@#$%^&*()");
// Mode-specific UI elements
if (mode === "remote") {
expect(frame).toContain("Remote Mode");
} else {
// In local mode, the typed special characters should appear in the input
// In remote mode, the UI connects to a (non-existent) remote server,
// so the input may not be reflected in the frame
if (mode === "local") {
expect(frame).toContain("!@#$%^&*()");
expect(frame).toContain("Continue CLI");
}
},

View file

@ -12,7 +12,7 @@ describe("updateAnthropicModelInYaml", () => {
expect(result).toContain("name: Local Config");
expect(result).toContain("version: 1.0.0");
expect(result).toContain("schema: v1");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});
@ -21,7 +21,7 @@ describe("updateAnthropicModelInYaml", () => {
const result = updateAnthropicModelInYaml(invalidYaml, testApiKey);
expect(result).toContain("name: Local Config");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});
});
@ -44,7 +44,7 @@ models:
expect(result).toContain("# My Continue config");
expect(result).toContain("# List of available models");
expect(result).toContain("uses: openai/gpt-4");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});
@ -55,7 +55,7 @@ version: 1.0.0
schema: v1
# List of available models
models:
- uses: anthropic/claude-sonnet-4-5
- uses: anthropic/claude-sonnet-4-6
with:
ANTHROPIC_API_KEY: old-key
`;
@ -64,7 +64,7 @@ models:
expect(result).toContain("# My Continue config");
expect(result).toContain("# List of available models");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
expect(result).not.toContain("old-key");
});
@ -84,7 +84,7 @@ models:
const result = updateAnthropicModelInYaml(existingConfig, testApiKey);
expect(result).toContain("uses: openai/gpt-4");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
expect(result).toContain("OPENAI_API_KEY: TEST-openai-test");
});
@ -94,7 +94,7 @@ models:
version: 1.0.0
schema: v1
models:
- uses: anthropic/claude-sonnet-4-5
- uses: anthropic/claude-sonnet-4-6
with:
ANTHROPIC_API_KEY: old-anthropic-key
- uses: openai/gpt-4
@ -104,7 +104,7 @@ models:
const result = updateAnthropicModelInYaml(existingConfig, testApiKey);
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("uses: openai/gpt-4");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
expect(result).toContain("OPENAI_API_KEY: TEST-openai-test");
@ -112,7 +112,7 @@ models:
// Should only have one anthropic model
const anthropicMatches = result.match(
/uses: anthropic\/claude-sonnet-4-5/g,
/uses: anthropic\/claude-sonnet-4-6/g,
);
expect(anthropicMatches).toHaveLength(1);
});
@ -130,7 +130,7 @@ schema: v1
expect(result).toContain("name: Local Config");
expect(result).toContain("models:");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});
@ -147,7 +147,7 @@ models: []
);
expect(result).toContain("name: Local Config");
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});
});
@ -189,7 +189,7 @@ models: "not an array"
const result = updateAnthropicModelInYaml(malformedConfig, testApiKey);
expect(result).toContain("uses: anthropic/claude-sonnet-4-5");
expect(result).toContain("uses: anthropic/claude-sonnet-4-6");
expect(result).toContain("ANTHROPIC_API_KEY: sk-ant-test123456789");
});

View file

@ -27,7 +27,7 @@ export function updateAnthropicModelInYaml(
apiKey: string,
): string {
const newModel: ModelConfig = {
uses: "anthropic/claude-sonnet-4-5",
uses: "anthropic/claude-sonnet-4-6",
with: {
ANTHROPIC_API_KEY: apiKey,
},
@ -62,7 +62,7 @@ export function updateAnthropicModelInYaml(
// Filter out existing anthropic models
config.models = config.models.filter(
(model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-5",
(model: any) => !model || model.uses !== "anthropic/claude-sonnet-4-6",
);
// Add the new anthropic model

View file

@ -850,6 +850,8 @@
"anyOf": [
{
"enum": [
"claude-sonnet-4-6",
"claude-opus-4-6",
"claude-sonnet-4",
"claude-sonnet-4-5",
"claude-opus-4-1",
@ -1612,6 +1614,8 @@
"codeup-13b",
"deepseek-7b",
"deepseek-33b",
"claude-sonnet-4-6",
"claude-opus-4-6",
"claude-sonnet-4",
"claude-sonnet-4-5",
"claude-opus-4-1",

View file

@ -1317,14 +1317,42 @@ export const models: { [key: string]: ModelPackage } = {
icon: "openai.png",
isOpenSource: false,
},
claude46Sonnet: {
title: "Claude Sonnet 4.6",
description:
"Anthropic's latest and most capable Sonnet model with exceptional coding, reasoning, and multilingual performance.",
params: {
model: "claude-sonnet-4-6",
contextLength: 200_000,
title: "Claude Sonnet 4.6",
apiKey: "",
},
providerOptions: ["anthropic", "replicate"],
icon: "anthropic.png",
isOpenSource: false,
},
claude46Opus: {
title: "Claude Opus 4.6",
description:
"Anthropic's most intelligent model with the highest level of capability for complex reasoning and agentic tasks.",
params: {
model: "claude-opus-4-6",
contextLength: 200_000,
title: "Claude Opus 4.6",
apiKey: "",
},
providerOptions: ["anthropic"],
icon: "anthropic.png",
isOpenSource: false,
},
claude45Sonnet: {
title: "Claude Sonnet 4.5",
description:
"Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.",
"Previous generation Sonnet model with strong performance in reasoning and multilingual tasks.",
params: {
model: "claude-sonnet-4-5-20250929",
contextLength: 200_000,
title: "Claude 4.5 Sonnet",
title: "Claude Sonnet 4.5",
apiKey: "",
},
providerOptions: ["anthropic", "replicate"],
@ -1360,12 +1388,12 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
claude4_5Opus: {
title: "Claude 4.5 Opus",
title: "Claude Opus 4.5",
description: "The most capable model in the Claude 4.5 series",
params: {
model: "claude-opus-4-5",
contextLength: 200_000,
title: "Claude 4.5 Opus",
title: "Claude Opus 4.5",
apiKey: "",
},
providerOptions: ["anthropic"],
@ -1843,13 +1871,13 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
asksageclaude45sonnet: {
title: "Claude 4.5 Sonnet*",
title: "Claude Sonnet 4.5*",
description:
"Anthropic's most powerful model, designed for complex, reasoning-heavy tasks like agentic search, coding, and writing.",
params: {
model: "google-claude-45-sonnet",
contextLength: 200_000,
title: "Claude 4.5 Sonnet*",
title: "Claude Sonnet 4.5*",
apiKey: "",
},
providerOptions: ["askSage"],
@ -2566,13 +2594,13 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
cometapiClaude45Sonnet: {
title: "Claude 4.5 Sonnet Latest",
title: "Claude Sonnet 4.5 Latest",
description:
"Claude 4.5 Sonnet Latest via CometAPI - Anthropic's smartest model for complex agents and coding.",
"Claude Sonnet 4.5 Latest via CometAPI - Anthropic's smartest model for complex agents and coding.",
params: {
model: "claude-sonnet-4-5-20250929",
contextLength: 200_000,
title: "Claude 4.5 Sonnet Latest",
title: "Claude Sonnet 4.5 Latest",
apiKey: "",
},
providerOptions: ["cometapi"],
@ -2580,13 +2608,13 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
cometapiClaude45Haiku: {
title: "Claude 4.5 Haiku Latest",
title: "Claude Haiku 4.5 Latest",
description:
"Claude 4.5 Haiku Latest via CometAPI - Anthropic's fastest model with near-frontier intelligence.",
"Claude Haiku 4.5 Latest via CometAPI - Anthropic's fastest model with near-frontier intelligence.",
params: {
model: "claude-haiku-4-5-20251001",
contextLength: 200_000,
title: "Claude 4.5 Haiku Latest",
title: "Claude Haiku 4.5 Latest",
apiKey: "",
},
providerOptions: ["cometapi"],
@ -2621,12 +2649,12 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
asksageclaude45sonnetgov: {
title: "Claude 4.5 Sonnet gov*",
title: "Claude Sonnet 4.5 gov*",
description: "Anthropic's 4.5 Sonnet model.",
params: {
model: "aws-bedrock-claude-45-sonnet-gov",
contextLength: 200_000,
title: "Claude 4.5 Sonnet gov*",
title: "Claude Sonnet 4.5 gov*",
apiKey: "",
},
providerOptions: ["askSage"],
@ -2634,12 +2662,12 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
asksageclaude45opus: {
title: "Claude 4.5 Opus*",
description: "Claude 4.5 Opus",
title: "Claude Opus 4.5*",
description: "Claude Opus 4.5",
params: {
model: "google-claude-45-opus",
contextLength: 200_000,
title: "Claude 4.5 Opus*",
title: "Claude Opus 4.5*",
apiKey: "",
},
providerOptions: ["askSage"],
@ -2647,12 +2675,12 @@ export const models: { [key: string]: ModelPackage } = {
isOpenSource: false,
},
asksageclaude45haiku: {
title: "Claude 4.5 Haiku*",
description: "Claude 4.5 Haiku",
title: "Claude Haiku 4.5*",
description: "Claude Haiku 4.5",
params: {
model: "google-claude-45-haiku",
contextLength: 200_000,
title: "Claude 4.5 Haiku*",
title: "Claude Haiku 4.5*",
apiKey: "",
},
providerOptions: ["askSage"],

View file

@ -204,6 +204,8 @@ export const providers: Partial<Record<string, ProviderInfo>> = {
},
],
packages: [
models.claude46Opus,
models.claude46Sonnet,
models.claude4_5Opus,
models.claude45Sonnet,
models.claude45Haiku,

View file

@ -1,4 +1,6 @@
export const commonModelSlugs = [
"anthropic/claude-sonnet-4-6",
"anthropic/claude-opus-4-6",
"anthropic/claude-sonnet-4",
"togetherai/llama-4-maverick-instruct-17bx128e",
"google/gemini-2.5-pro",

View file

@ -5,18 +5,38 @@ export const Anthropic: ModelProvider = {
displayName: "Anthropic",
models: [
{
model: "claude-sonnet-4-5-20250929",
displayName: "Claude 4.5 Sonnet",
model: "claude-sonnet-4-6",
displayName: "Claude Sonnet 4.6",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.",
"Anthropic's latest and most capable Sonnet model with exceptional coding, reasoning, and multilingual performance.",
regex: /claude-(?:4[.-]6-sonnet|sonnet-4[.-]6).*/i,
recommendedFor: ["chat"],
},
{
model: "claude-opus-4-6",
displayName: "Claude Opus 4.6",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Anthropic's most intelligent model with the highest level of capability for complex reasoning and agentic tasks.",
regex: /claude-(?:4[.-]6-opus|opus-4[.-]6).*/i,
recommendedFor: ["chat"],
},
{
model: "claude-sonnet-4-5-20250929",
displayName: "Claude Sonnet 4.5",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Previous generation Sonnet model with strong performance in reasoning and multilingual tasks.",
regex: /claude-(?:4[.-]5-sonnet|sonnet-4[.-]5).*/i,
recommendedFor: ["chat"],
},
{
model: "claude-haiku-4-5-20251001",
displayName: "Claude 4.5 Haiku",
displayName: "Claude Haiku 4.5",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
@ -30,7 +50,7 @@ export const Anthropic: ModelProvider = {
contextLength: 200000,
maxCompletionTokens: 32000,
description:
"Exceptional model for specialized reasoning tasks with advanced agentic capabilities and superior coding performance.",
"Previous generation Opus model with advanced agentic capabilities and coding performance.",
regex: /claude-opus-4[.-]1.*/i,
recommendedFor: ["chat"],
},
@ -40,7 +60,7 @@ export const Anthropic: ModelProvider = {
contextLength: 200000,
maxCompletionTokens: 8192,
description:
"Previous generation model with strong coding and reasoning capabilities, now superseded by Claude 4.5 Sonnet.",
"Previous generation model with strong coding and reasoning capabilities.",
// Sometimes written as claude-4-sonnet, other times as claude-sonnet-4
regex: /claude-(?:4-sonnet|sonnet-4).*/i,
recommendedFor: ["chat"],
@ -51,7 +71,7 @@ export const Anthropic: ModelProvider = {
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Most intelligent model with the highest level of intelligence and capability.",
"Previous generation Opus with high intelligence and capability.",
regex: /claude-(?:4-5-opus|opus-4-5).*/i,
recommendedFor: ["chat"],
},

View file

@ -80,12 +80,30 @@ export const CometAPI: ModelProvider = {
// Claude Series
{
model: "claude-sonnet-4-5",
displayName: "Claude 4.5 Sonnet",
model: "claude-sonnet-4-6",
displayName: "Claude Sonnet 4.6",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Anthropic's smartest model for complex agents and coding with exceptional performance in reasoning and multilingual tasks.",
"Anthropic's latest and most capable Sonnet model with exceptional coding, reasoning, and multilingual performance.",
recommendedFor: ["chat"],
},
{
model: "claude-opus-4-6",
displayName: "Claude Opus 4.6",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Anthropic's most intelligent model with the highest level of capability for complex reasoning and agentic tasks.",
recommendedFor: ["chat"],
},
{
model: "claude-sonnet-4-5",
displayName: "Claude Sonnet 4.5",
contextLength: 200000,
maxCompletionTokens: 64000,
description:
"Previous generation Sonnet model with strong performance in reasoning and multilingual tasks.",
recommendedFor: ["chat"],
},
{