mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 14:05:08 +00:00
chore(ai): add claude opus 4.6 model
This commit is contained in:
parent
1614e95eca
commit
91e09765e7
1 changed files with 21 additions and 0 deletions
|
|
@ -642,6 +642,27 @@ async function generateModels() {
|
||||||
opus45.cost.cacheWrite = 6.25;
|
opus45.cost.cacheWrite = 6.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add missing Claude Opus 4.6
|
||||||
|
if (!allModels.some(m => m.provider === "anthropic" && m.id === "claude-opus-4-6")) {
|
||||||
|
allModels.push({
|
||||||
|
id: "claude-opus-4-6",
|
||||||
|
name: "Claude Opus 4.6",
|
||||||
|
api: "anthropic-messages",
|
||||||
|
baseUrl: "https://api.anthropic.com",
|
||||||
|
provider: "anthropic",
|
||||||
|
reasoning: true,
|
||||||
|
input: ["text", "image"],
|
||||||
|
cost: {
|
||||||
|
input: 5,
|
||||||
|
output: 25,
|
||||||
|
cacheRead: 0.5,
|
||||||
|
cacheWrite: 6.25,
|
||||||
|
},
|
||||||
|
contextWindow: 200000,
|
||||||
|
maxTokens: 128000,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Add missing gpt models
|
// Add missing gpt models
|
||||||
if (!allModels.some(m => m.provider === "openai" && m.id === "gpt-5-chat-latest")) {
|
if (!allModels.some(m => m.provider === "openai" && m.id === "gpt-5-chat-latest")) {
|
||||||
allModels.push({
|
allModels.push({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue