feat: add Claude Opus 4.8 model#1464
Conversation
cubicj
left a comment
There was a problem hiding this comment.
One Bedrock-specific issue: this adds claudeAdaptiveThinking to AWS Claude 4.7 Opus, so the existing adaptive thinking UI can expose effort: "max" for it. AWS documents max as Claude Opus 4.6-only, while other models should use low, medium, or high.
https://docs.aws.amazon.com/bedrock/latest/userguide/claude-messages-adaptive-thinking.html
Could you narrow the exposed effort options for Bedrock Opus 4.7?
|
I removed AWS support for Claude Opus 4.7 from this PR. At first, I thought it won't be so troublesome since there's already an API implementation for AWS and new model's behavior seems to be the same as the last one (max adaptive thinking behavior change part was not mentioned in model docs), so It would be okay to just slip it into the PR. However, if model behavior has changed and I am unable to test it, I think it's better not to add it.
Besides, who would possibly try to contact AWS sales to use Opus 4.7 for RolePlay when they could just go to Anthropic or Openrouter? But at the same time, I should have searched for the docs more rigorously, or be more conservative with what I cannot test by myself. Sorry about that. |

PR Checklist
Summary
Add Claude Opus 4.8 to the Anthropic model list and add the current AWS Bedrock Claude Opus 4.7 model ID.
Related Issues
None.
Changes
claude-opus-4-8as a recommended Anthropic model.xhigheffort support.claudeXHighEffortcustom flag in model settings.Impact
Users can select Claude Opus 4.8 through the RisuAI Official Anthropic API implementation. Existing models are unchanged.
Additional notes
Manually tested with streaming on / off and various thinking settings.
Footnotes
Modifies the behavior of prompting, requesting, or handling responses from AI models. ↩
Over 80% of the code is AI generated. ↩