assistant: Add support for claude-3-7-sonnet-thinking (#27085)
Closes #25671 Release Notes: - Added support for `claude-3-7-sonnet-thinking` in the assistant panel --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Agus Zubiaga <hi@aguz.me>
This commit is contained in:
co-authored by
Danilo Leal
Antonio Scandurra
Agus Zubiaga
parent
2ffce4f516
commit
a709d4c7c6
@@ -72,7 +72,9 @@ impl CloudModel {
|
||||
pub fn availability(&self) -> LanguageModelAvailability {
|
||||
match self {
|
||||
Self::Anthropic(model) => match model {
|
||||
anthropic::Model::Claude3_5Sonnet | anthropic::Model::Claude3_7Sonnet => {
|
||||
anthropic::Model::Claude3_5Sonnet
|
||||
| anthropic::Model::Claude3_7Sonnet
|
||||
| anthropic::Model::Claude3_7SonnetThinking => {
|
||||
LanguageModelAvailability::RequiresPlan(Plan::Free)
|
||||
}
|
||||
anthropic::Model::Claude3Opus
|
||||
|
||||
Reference in New Issue
Block a user