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:
@@ -96,6 +96,11 @@ export function isGpt5_3CodexModel(model: string): boolean {
|
|||||||
return modelName.includes("gpt-5.3-codex") || modelName.includes("gpt-5-3-codex");
|
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/"];
|
const GEMINI_PROVIDERS = ["google/", "google-vertex/"];
|
||||||
|
|
||||||
export function isMiniMaxModel(model: string): boolean {
|
export function isMiniMaxModel(model: string): boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user