feat: 默认模型升级到 Opus 4.8 + 补充定价表#253
Merged
Merged
Conversation
- src/config.ts: 默认 model 从 claude-opus-4-7 切换到 claude-opus-4-8 - src/claude/executor.ts: MODEL_PRICING 表新增 claude-opus-4-8 条目 (与 Opus 4.7/4.6 同价 $5/$25) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Claude finished @lishuceo's task in 55s —— View job ✅ Approved — LGTMVerdict: Small, well-scoped change. No issues found. Review notes
Caveats
Checklist
|
Contributor
|
Claude finished @lishuceo's task in 42s —— View job ✅ Approved — LGTMVerdict: Small, well-scoped change. No new issues since the previous review; the synchronize event was triggered by a merge of Review notes
Caveats
Checklist
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
背景
Anthropic API 已上线 `claude-opus-4-8`,直接调用返回正常。anycode 没有 model 白名单拦截,透传给 Agent SDK 即可生效;本 PR 仅做默认值切换 + 定价表对齐。
Test plan
🤖 Generated with Claude Code