feat(agents): add isClaudeOpus47Model type guard

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-27 21:15:31 +09:00
parent 8ad50b7e93
commit 215c8f2315
+5
View File
@@ -96,6 +96,11 @@ export function isGpt5_3CodexModel(model: string): boolean {
return modelName.includes("gpt-5.3-codex") || modelName.includes("gpt-5-3-codex");
}
export function isClaudeOpus47Model(model: string): boolean {
const modelName = extractModelName(model).toLowerCase().replaceAll(".", "-");
return modelName.includes("claude-opus-4-7");
}
const GEMINI_PROVIDERS = ["google/", "google-vertex/"];
export function isMiniMaxModel(model: string): boolean {