supported-model-update
星标8
分支0
更新时间2026年7月18日 23:52
Run this to update supported models
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Run this to update supported models
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | supported-model-update |
| description | Run this to update supported models |
| disable-model-invocation | true |
Update SupportedModelOpenAI, SupportedModelGemini, and SupportedModelAnthropic in src/interop_router/types.py based on the installed package type definitions.
OpenAI instructions
ai_working/openai-python/src/openai/types/shared/chat_model.py - the ChatModel Literalai_working/openai-python/src/openai/types/shared_params/responses_model.py - the additional models in the ResponsesModel Literal (excluding str and ChatModel)SupportedModelOpenAI type alias in src/interop_router/types.py, based on these rules.
Gemini instructions
ai_working/python-genai/google/genai/_interactions/types/model.py. Use these for SupportedModelGemini.SupportedModelGemini type alias in src/interop_router/types.py, based on these rules.
gemini-2.5-pro-preview-tts or gemini-2.5-flash-preview-native-audio-dialoggemini-3-pro-image-preview since they are included as part tool calling for the text model.Anthropic instructions
ai_working/anthropic-sdk-python/src/anthropic/types/model_param.py - the ModelParam Union (excluding str)SupportedModelAnthropic type alias in src/interop_router/types.py, based on these rules.
NOTE: We might have to add some models manually. These should be denoted with a comment and not overwritten.
uv run ruff format && uv run ruff check --fix && uv run ty check. Only fix issues related to the changes you just made.