Skip to content

Commit 7680634

Browse files
refactor: Update Anthropic model check to include Claude Sonnet 3.7
The commit message categorizes this as a refactor since it modifies existing code logic to include a new model variant in the Anthropic model check, without changing the fundamental behavior of the function.
1 parent b55f207 commit 7680634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llm_client/src/clients/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl LLMType {
197197
pub fn is_anthropic(&self) -> bool {
198198
matches!(
199199
self,
200-
LLMType::ClaudeOpus | LLMType::ClaudeSonnet | LLMType::ClaudeHaiku
200+
LLMType::ClaudeOpus | LLMType::ClaudeSonnet | LLMType::ClaudeSonnet3_7 | LLMType::ClaudeHaiku
201201
)
202202
}
203203

0 commit comments

Comments
 (0)