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:
parent
a70daa4310
commit
5dcd0d37a6
1 changed files with 1 additions and 6 deletions
|
@ -181,12 +181,7 @@ impl LanguageModel for CopilotChatLanguageModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn supports_tools(&self) -> bool {
|
fn supports_tools(&self) -> bool {
|
||||||
match self.model {
|
false
|
||||||
CopilotChatModel::Claude3_5Sonnet
|
|
||||||
| CopilotChatModel::Claude3_7Sonnet
|
|
||||||
| CopilotChatModel::Claude3_7SonnetThinking => true,
|
|
||||||
_ => false,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn telemetry_id(&self) -> String {
|
fn telemetry_id(&self) -> String {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue