language_models: Denote Copilot Chat as not supporting tools (#27909)

This PR updates the Copilot Chat language model to indicate it does not
yet support tool use in Zed.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-02 08:12:09 -04:00 committed by GitHub
parent a70daa4310
commit 5dcd0d37a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -181,12 +181,7 @@ impl LanguageModel for CopilotChatLanguageModel {
}
fn supports_tools(&self) -> bool {
match self.model {
CopilotChatModel::Claude3_5Sonnet
| CopilotChatModel::Claude3_7Sonnet
| CopilotChatModel::Claude3_7SonnetThinking => true,
_ => false,
}
false
}
fn telemetry_id(&self) -> String {