Fix regression that caused Anthropic custom models to error (#15329)

/cc: @bennetbo 

Release Notes:

- N/A

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2024-07-27 14:45:18 +02:00 committed by GitHub
parent 4bd935b409
commit 70e895a8c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 14 deletions

View file

@ -174,7 +174,7 @@ impl AnthropicModel {
}
Request {
model: self.model.clone(),
model: self.model.id().to_string(),
messages: request
.messages
.iter()