We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c88b9 commit 8084644Copy full SHA for 8084644
rust/cocoindex/src/llm/mod.rs
@@ -182,10 +182,7 @@ pub async fn new_llm_embedding_client(
182
Box::new(gemini::VertexAiClient::new(address, api_key, api_config).await?)
183
as Box<dyn LlmEmbeddingClient>
184
}
185
- LlmApiType::LiteLlm
186
- | LlmApiType::Vllm
187
- | LlmApiType::Anthropic
188
- | LlmApiType::Bedrock => {
+ LlmApiType::LiteLlm | LlmApiType::Vllm | LlmApiType::Anthropic | LlmApiType::Bedrock => {
189
api_bail!("Embedding is not supported for API type {:?}", api_type)
190
191
};
0 commit comments