chore: 统一所有模型配置为 ai-gateway/kimi-k2p5-turbo
This commit is contained in:
+18
-18
@@ -1,26 +1,26 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
||||||
"agents": {
|
"agents": {
|
||||||
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"sisyphus": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
"hephaestus": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
"oracle": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
"librarian": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
"explore": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
"multimodal-looker": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"prometheus": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"metis": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
"momus": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
"atlas": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
"sisyphus-junior": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||||
},
|
},
|
||||||
"categories": {
|
"categories": {
|
||||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
"visual-engineering": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
"ultrabrain": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"deep": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
|
"deep": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
"artistry": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
"quick": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
"unspecified-low": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"unspecified-high": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
"writing": { "model": "ai-gateway/kimi-k2.5" }
|
"writing": { "model": "ai-gateway/kimi-k2.5" }
|
||||||
},
|
},
|
||||||
"experimental": {
|
"experimental": {
|
||||||
|
|||||||
+2
-101
@@ -2,84 +2,9 @@
|
|||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"plugin": ["oh-my-opencode@latest"],
|
"plugin": ["oh-my-opencode@latest"],
|
||||||
"autoupdate": false,
|
"autoupdate": false,
|
||||||
"model": "anthropic/claude-opus-4-6",
|
"model": "ai-gateway/kimi-k2p5-turbo",
|
||||||
"small_model": "openai/gpt-5.4-mini",
|
"small_model": "ai-gateway/kimi-k2p5-turbo",
|
||||||
"provider": {
|
"provider": {
|
||||||
"anthropic": {
|
|
||||||
"npm": "@ai-sdk/anthropic",
|
|
||||||
"options": {
|
|
||||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
|
||||||
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
|
||||||
},
|
|
||||||
"models": {
|
|
||||||
"claude-opus-4-6": {
|
|
||||||
"name": "Claude Opus 4.6",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1000000, "output": 128000 }
|
|
||||||
},
|
|
||||||
"claude-sonnet-4-6": {
|
|
||||||
"name": "Claude Sonnet 4.6",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 200000, "output": 64000 }
|
|
||||||
},
|
|
||||||
"claude-haiku-4-5": {
|
|
||||||
"name": "Claude Haiku 4.5",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 200000, "output": 64000 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"openai": {
|
|
||||||
"npm": "@ai-sdk/openai",
|
|
||||||
"options": {
|
|
||||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
|
||||||
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
|
||||||
},
|
|
||||||
"models": {
|
|
||||||
"gpt-5.4": {
|
|
||||||
"name": "GPT-5.4",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
|
||||||
},
|
|
||||||
"gpt-5.3-codex": {
|
|
||||||
"name": "GPT-5.3-Codex",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
||||||
},
|
|
||||||
"gpt-5.4-mini": {
|
|
||||||
"name": "GPT-5.4 mini",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"google": {
|
|
||||||
"npm": "@ai-sdk/google",
|
|
||||||
"options": {
|
|
||||||
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1beta",
|
|
||||||
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
|
||||||
},
|
|
||||||
"models": {
|
|
||||||
"gemini-3.1-pro-preview": {
|
|
||||||
"name": "Gemini 3.1 Pro",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
|
||||||
},
|
|
||||||
"gemini-3-flash-preview": {
|
|
||||||
"name": "Gemini 3 Flash",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ai-gateway": {
|
"ai-gateway": {
|
||||||
"name": "AI Gateway",
|
"name": "AI Gateway",
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
@@ -88,35 +13,11 @@
|
|||||||
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"glm-5.1": {
|
|
||||||
"name": "GLM-5.1",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
|
||||||
},
|
|
||||||
"glm-5": {
|
|
||||||
"name": "GLM-5",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
|
||||||
},
|
|
||||||
"kimi-k2p5-turbo": {
|
"kimi-k2p5-turbo": {
|
||||||
"name": "Kimi K2.5 Turbo",
|
"name": "Kimi K2.5 Turbo",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||||
"limit": { "context": 256000, "output": 256000 }
|
"limit": { "context": 256000, "output": 256000 }
|
||||||
},
|
|
||||||
"kimi-k2.5": {
|
|
||||||
"name": "Kimi K2.5",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
|
||||||
"limit": { "context": 262144, "output": 262144 }
|
|
||||||
},
|
|
||||||
"minimax-m2.7": {
|
|
||||||
"name": "MiniMax M2.7",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user