Skip to content

Commit

Permalink
Update router/src/http/server.rs
Browse files Browse the repository at this point in the history
Co-authored-by: OlivierDehaene <Olivier.dehaene@gmail.com>
  • Loading branch information
drbh and OlivierDehaene authored Mar 5, 2024
1 parent 4f9a392 commit da4a2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ async fn vertex_compatibility(
let results = join_all(futures)
.await
.into_iter()
.collect::<Result<Vec<AllEmbeddingsInferResponse>, TextEmbeddingsError>>()
.collect::<Result<Vec<PooledEmbeddingsInferResponse>, TextEmbeddingsError>>()
.map_err(ErrorResponse::from)?;

let mut embeddings = Vec::with_capacity(batch_size);
Expand Down

0 comments on commit da4a2d1

Please sign in to comment.