Skip to content

Commit 8084644

Browse files
committed
Run cargo fmt
1 parent 94c88b9 commit 8084644

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rust/cocoindex/src/llm/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ pub async fn new_llm_embedding_client(
182182
Box::new(gemini::VertexAiClient::new(address, api_key, api_config).await?)
183183
as Box<dyn LlmEmbeddingClient>
184184
}
185-
LlmApiType::LiteLlm
186-
| LlmApiType::Vllm
187-
| LlmApiType::Anthropic
188-
| LlmApiType::Bedrock => {
185+
LlmApiType::LiteLlm | LlmApiType::Vllm | LlmApiType::Anthropic | LlmApiType::Bedrock => {
189186
api_bail!("Embedding is not supported for API type {:?}", api_type)
190187
}
191188
};

0 commit comments

Comments
 (0)