Add support for Codex model in provider logic and update documentation for claude code

This commit is contained in:
Luis Pater
2025-08-16 02:02:44 +08:00
parent de7b8501cc
commit 4155805ad6
3 changed files with 43 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ func GetProviderName(modelName string) string {
return "gemini"
} else if strings.Contains(modelName, "gpt") {
return "gpt"
} else if strings.Contains(modelName, "codex") {
return "gpt"
}
return "unknow"
}