Skip to content

chore(providers): update default model names to 2026-07 latest - #3271

Open
LeaderOnePro wants to merge 1 commit into
sipeed:mainfrom
LeaderOnePro:feat/update-default-models
Open

chore(providers): update default model names to 2026-07 latest#3271
LeaderOnePro wants to merge 1 commit into
sipeed:mainfrom
LeaderOnePro:feat/update-default-models

Conversation

@LeaderOnePro

Copy link
Copy Markdown
Contributor

Summary

  • Refresh default/common model lists across 9 providers to reflect current model IDs, each verified against official provider documentation
  • OpenAI: gpt-5.4/gpt-5.5gpt-5.6-terra/gpt-5.6-luna/gpt-5.6-sol (verified via platform.openai.com/api/docs/models)
  • Anthropic: claude-opus-4-7/claude-sonnet-4-6claude-fable-5/claude-opus-4-8/claude-sonnet-5 (verified via platform.claude.com/docs)
  • Gemini: gemini-3-flash-previewgemini-3.5-flash
  • DeepSeek: deepseek-chatdeepseek-v4-flash (deepseek-chat deprecated 2026-07-24 per api-docs.deepseek.com)
  • Qwen: qwen3.6-*qwen3.7-max/qwen3.7-plus, qwen3.6-flash
  • Moonshot: kimi-k2.5/kimi-k2-thinkingkimi-k3/kimi-k2.7-code/kimi-k2.6 (verified via platform.kimi.com/docs)
  • Zhipu: glm-5/glm-4-flashglm-5.2/glm-4.7-flash (verified via docs.bigmodel.cn)
  • MiniMax: MiniMax-M2.5MiniMax-M3
  • LongCat: LongCat-Flash-ThinkingLongCat-2.0

Changes

Updates Web UI provider catalog (CommonModels()), DefaultConfig() presets, auth/OAuth hardcoded defaults, legacy migration maps, config.example.json, security examples, skill examples, and all language docs (en/zh/ja/ko/pt-br/vi/fr/it/id/ms).

Pure string replacement — no logic or behavior changes.

Test plan

  • go build ./pkg/... passes for all modified packages
  • go test ./pkg/providers/... ./pkg/config/... ./cmd/picoclaw/internal/auth/ ./cmd/picoclaw/internal/model/ passes
  • Fixed 3 tests asserting GetDefaultModel() expected value and updated summarize skill Gemini reference
  • Verified all model IDs against official provider API documentation

🤖 Generated with Claude Code

Refresh the default/common model list across 9 providers to reflect
current model IDs verified against official provider documentation:

- OpenAI: gpt-5.4/5.5 → gpt-5.6-terra/luna/sol
- Anthropic: claude-opus-4-7/sonnet-4-6 → claude-fable-5/opus-4-8/sonnet-5
- Gemini: gemini-3-flash-preview → gemini-3.5-flash
- DeepSeek: deepseek-chat → deepseek-v4-flash (deepseek-chat deprecated 2026-07-24)
- Qwen: qwen3.6-* → qwen3.7-max/plus, qwen3.6-flash
- Moonshot: kimi-k2.5/k2-thinking → kimi-k3/k2.7-code/k2.6
- Zhipu: glm-5/4-flash → glm-5.2/4.7-flash
- MiniMax: MiniMax-M2.5 → MiniMax-M3
- LongCat: LongCat-Flash-Thinking → LongCat-2.0

Updates CommonModels (Web UI catalog), DefaultConfig() presets, auth/OAuth
defaults, migration maps, config examples, and all language docs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 20, 2026 13:56
@CLAassistant

CLAassistant commented Jul 20, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates PicoClaw’s provider defaults and “common model” catalogs to reflect the latest upstream model IDs (as of 2026-07), and propagates those new defaults across the Web UI, CLI helpers, sample configs, and documentation.

Changes:

  • Refreshed default model IDs in Go config presets, OAuth defaults, and provider metadata catalogs.
  • Updated tests asserting provider default models (notably Anthropic) and updated skill/doc examples to match new defaults.
  • Propagated model ID string updates across Web UI i18n hints, security/config docs, and multi-language guides.

Reviewed changes

Copilot reviewed 58 out of 58 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
workspace/skills/summarize/SKILL.md Update Gemini + OpenAI example model IDs
web/frontend/src/i18n/locales/zh.json Update model ID hint example to new OpenAI model
web/frontend/src/i18n/locales/pt-br.json Update model ID hint example to new OpenAI model
web/frontend/src/i18n/locales/en.json Update model ID hint example to new OpenAI model
web/frontend/src/i18n/locales/bn-in.json Update model ID hint example to new OpenAI model
web/backend/api/oauth.go Update OAuth default model configs for OpenAI/Anthropic
README.md Update onboarding/config snippet default model name
pkg/providers/provider_metadata.go Refresh provider “CommonModels” lists and defaults
pkg/providers/oauth/claude_provider_test.go Update Anthropic OAuth provider default-model test
pkg/providers/anthropic/provider.go Update Anthropic provider default model
pkg/providers/anthropic/provider_test.go Update Anthropic provider default-model test
pkg/providers/anthropic_messages/provider.go Update Anthropic Messages provider default model
pkg/providers/anthropic_messages/provider_test.go Update Anthropic Messages default-model test
pkg/config/example_security_usage.go Update security/config examples to new defaults
pkg/config/defaults.go Update DefaultConfig() model presets across providers
pkg/config/config.go Update ModelConfig doc comment example model ID
pkg/config/config_test.go Update Minimax default-config test to new model
pkg/config/config_old.go Update legacy migration default model mappings
docs/security/security_configuration.md Update security configuration examples to new defaults
docs/reference/config-versioning.md Update config versioning examples to new defaults
docs/project/README.zh.md Update project README example config model IDs (zh)
docs/project/README.vi.md Update project README example config model IDs (vi)
docs/project/README.pt-br.md Update project README example config model IDs (pt-br)
docs/project/README.ms.md Update project README example config model IDs (ms)
docs/project/README.ko.md Update project README example config model IDs (ko)
docs/project/README.ja.md Update project README example config model IDs (ja)
docs/project/README.it.md Update project README example config model IDs (it)
docs/project/README.id.md Update project README example config model IDs (id)
docs/project/README.fr.md Update project README example config model IDs (fr)
docs/migration/model-list-migration.md Update migration guide examples to new defaults
docs/guides/routing-guide.zh.md Update routing guide examples (zh)
docs/guides/routing-guide.md Update routing guide examples (en)
docs/guides/providers.zh.md Update providers guide examples (zh)
docs/guides/providers.vi.md Update providers guide examples (vi)
docs/guides/providers.pt-br.md Update providers guide examples (pt-br)
docs/guides/providers.md Update providers guide examples (en)
docs/guides/providers.ja.md Update providers guide examples (ja)
docs/guides/providers.fr.md Update providers guide examples (fr)
docs/guides/docker.zh.md Update Docker guide examples (zh)
docs/guides/docker.vi.md Update Docker guide examples (vi)
docs/guides/docker.pt-br.md Update Docker guide examples (pt-br)
docs/guides/docker.ms.md Update Docker guide examples (ms)
docs/guides/docker.md Update Docker guide examples (en)
docs/guides/docker.ja.md Update Docker guide examples (ja)
docs/guides/docker.fr.md Update Docker guide examples (fr)
docs/guides/configuration.zh.md Update configuration guide examples (zh)
docs/guides/configuration.vi.md Update configuration guide examples (vi)
docs/guides/configuration.pt-br.md Update configuration guide examples (pt-br)
docs/guides/configuration.ms.md Update configuration guide examples (ms)
docs/guides/configuration.md Update configuration guide examples (en)
docs/guides/configuration.ja.md Update configuration guide examples (ja)
docs/guides/configuration.it.md Update configuration guide examples (it)
docs/guides/configuration.fr.md Update configuration guide examples (fr)
docs/design/provider-refactoring.md Update design doc examples to new model IDs
config/config.example.json Update example config model IDs/presets
cmd/picoclaw/internal/status/helpers_test.go Update status command test config model IDs
cmd/picoclaw/internal/model/command.go Update CLI help example for Anthropic default
cmd/picoclaw/internal/auth/helpers.go Update auth helper defaults for OpenAI/Anthropic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines 381 to 385
"agents": {
"defaults": {
"model_name": "gpt-5.4"
"model_name": "gpt-5.6-terra"
}
},
Comment on lines 76 to 81
"model_list": [
{
"model_name": "deepseek-chat",
"model": "openai/deepseek-chat",
"model_name": "deepseek-v4-flash",
"model": "openai/deepseek-v4-flash",
"api_base": "https://api.deepseek.com/v1",
"api_keys": ["sk-xxx"]
@github-actions

Copy link
Copy Markdown

This PR has had no activity for 7 days and has been marked as stale. If you are still working on it, please push an update or leave a comment; otherwise it will be closed automatically in 7 days.

@LeaderOnePro

Copy link
Copy Markdown
Contributor Author

request review

@github-actions github-actions Bot removed the stale label Jul 30, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

This PR has had no activity for 7 days and has been marked as stale. If you are still working on it, please push an update or leave a comment; otherwise it will be closed automatically in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants