-
-
Notifications
You must be signed in to change notification settings - Fork 389
Allows to translate model names like claude-sonnet-4-5-20250929 properly #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
@wonderyl config claude code settings.json like this |
|
I don't want to use gpt models. |
|
@wonderyl You can additionally add ANTHROPIC_DEFAULT_OPUS_MODEL and CLAUDE_CODE_SUBAGENT_MODEL. Claude Code will aggressively use HAIKU_MODEL and CLAUDE_CODE_SUBAGENT_MODEL in the background, causing your quota to deplete quickly. Each time bash is called, HAIKU_MODEL is used to check whether the split script poses any risk. Complex scripts may be divided into many smaller scripts, resulting in multiple calls to HAIKU_MODEL. Some versions of claude code make two warmup calls each time they are opened. Additionally, certain tasks involving summarizing topics also use HAIKU_MODEL. |
|
Thanks for the advice @caozhiyuan. But I failed to understand how this is relevant to my PR. |
|
@wonderyl Just suggest that you configure the model yourself. This way, you'll understand the role of each model. |
|
@wonderyl You can use this branch: https://github.com/caozhiyuan/copilot-api/tree/feature/all, which contains many advanced features. The master branch hasn't been maintained for a long time. |
|
Currently, for complex tasks: gpt-5.2 thinking high is stronger than opus 4.5. |
Without this PR
claude-sonnet-4-5-20250929will be translated toclaude-sonnet-4instead.