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

@ -27,7 +27,7 @@ pub struct LanguageModelCompletionProvider {
const MAX_CONCURRENT_COMPLETION_REQUESTS: usize = 4;
pub struct LanguageModelCompletionResponse {
pub inner: BoxStream<'static, Result<String>>,
inner: BoxStream<'static, Result<String>>,
_lock: SemaphoreGuardArc,
}