agent: Disable claude-3-7-sonnet-thinking tool support for Copilot Chat (#29999)
We started getting Bad Requests from the Copilot Chat API. Seems like Microsoft stopped supporting this: <img width="331" alt="image" src="https://github.com/user-attachments/assets/46050063-f031-4836-82ff-219bdd45639a" /> Release Notes: - agent: Disable `claude-3-7-sonnet-thinking` for Copilot Chat Provider because it is not supported by Copilot Chat Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
This commit is contained in:
parent
07e6e49583
commit
e44367c6d0
1 changed files with 1 additions and 2 deletions
|
@ -192,8 +192,7 @@ impl LanguageModel for CopilotChatLanguageModel {
|
|||
| CopilotChatModel::Gpt4_1
|
||||
| CopilotChatModel::O4Mini
|
||||
| CopilotChatModel::Claude3_5Sonnet
|
||||
| CopilotChatModel::Claude3_7Sonnet
|
||||
| CopilotChatModel::Claude3_7SonnetThinking => true,
|
||||
| CopilotChatModel::Claude3_7Sonnet => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue