update-default-models
БесплатноБез исполняемых скриптовНе проверенMonthly refresh of the default LLM models of Theia's language model aliases (Anthropic, OpenAI, Google), including the per-model capability tables that cannot…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Update default models
1. Know what is auto-discovered (do not touch)
- Anthropic, Google and OpenAI model lists are discovered from the provider
/modelsendpoints; there are no curated list preferences anymore. - Anthropic reasoning and max tokens come from the API.
- Google
inputTokenLimitand thethinkingflag come from/v1beta/models. - Leave the Hugging Face defaults (
packages/ai-hugging-face/src/common/huggingface-preferences.ts) alone unless asked.
2. Research the current lineup
Use web search for each provider (official docs first):
- Latest flagship, balanced and fast model per provider, and their exact API ids.
- Reasoning/thinking levels each new model accepts (which levels it rejects, whether thinking can be turned off).
- API constraints that break Theia's defaults, e.g. OpenAI models that only support tool calling via the Responses API (check the current default of
ai-features.openAiOfficial.useResponseApiinpackages/ai-openai/src/common/openai-preferences.ts).
Also check the previous model update PR (gh pr list --search "default models" --state merged) for scope and style.
3. Update the aliases
packages/ai-core/src/browser/frontend-language-model-alias-registry.ts:
default/code,default/universal,default/summarize: flagship of each provider.default/code-completion: balanced model (e.g. Sonnet) for Anthropic.default/fast: fast/cheap tier of each provider.
Order is Anthropic, OpenAI, Google. Never pick a model that cannot call tools with Theia's default API settings.
4. Update the capability tables that are inferred from the model id
- OpenAI:
packages/ai-openai/src/node/openai-model-defaults.ts(context window, reasoning levels per prefix; more specific prefixes first). Noteopenai-reasoning.tsmapsoffto omitting the effort, it does not sendnone. - Google:
packages/ai-google/src/node/google-language-models-manager-impl.ts(reasoningApiFromModelId,reasoningSupportFromModelId). Offer only levels the model accepts; invalid levels return HTTP 400. - Anthropic:
deriveServerSideCompactionSupportregex inpackages/ai-anthropicmust still match the new ids.
Add or extend the matching *.spec.ts tests for every changed mapping.
5. Validate and document
- Run the
compile,lintandtesttasks for each changed package (ai-core,ai-google,ai-openai,ai-anthropic). - Do not add a
CHANGELOG.mdentry: model updates are not breaking (seedoc/pull-requests.md#changelog-entry). - In the PR, list what was deliberately not changed and why (e.g. a model blocked by an API constraint) and ask the maintainers about follow-ups.
Установить update-default-models в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-default-models?
Monthly refresh of the default LLM models of Theia's language model aliases (Anthropic, OpenAI, Google), including the per-model capability tables that cannot be auto-discovered. Use when asked to update the default models, aliases or provider model lists.
Как установить скилл update-default-models?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-default-models запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic