language_model: Allow Max Mode for Claude 4 models (#31207)
This PR adds the Claude 4 models to the list of models that support Max Mode. Release Notes: - Added Max Mode support for Claude 4 models.
This commit is contained in:
@@ -248,6 +248,10 @@ pub trait LanguageModel: Send + Sync {
|
||||
}
|
||||
|
||||
const MAX_MODE_CAPABLE_MODELS: &[CloudModel] = &[
|
||||
CloudModel::Anthropic(anthropic::Model::ClaudeOpus4),
|
||||
CloudModel::Anthropic(anthropic::Model::ClaudeOpus4Thinking),
|
||||
CloudModel::Anthropic(anthropic::Model::ClaudeSonnet4),
|
||||
CloudModel::Anthropic(anthropic::Model::ClaudeSonnet4Thinking),
|
||||
CloudModel::Anthropic(anthropic::Model::Claude3_7Sonnet),
|
||||
CloudModel::Anthropic(anthropic::Model::Claude3_7SonnetThinking),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user