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:
parent
37f49ce304
commit
fc78408ee4
1 changed files with 4 additions and 0 deletions
|
@ -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),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue