Skip to content

Commit f2b6f72

Browse files
committed
style: format fix
1 parent 55c2451 commit f2b6f72

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/ops/functions/embed_text.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
use crate::{
2-
llm::{LlmApiConfig, LlmApiType, LlmEmbeddingClient, LlmEmbeddingRequest, new_llm_embedding_client},
2+
llm::{
3+
LlmApiConfig, LlmApiType, LlmEmbeddingClient, LlmEmbeddingRequest, new_llm_embedding_client,
4+
},
35
ops::sdk::*,
46
};
57

@@ -68,7 +70,9 @@ impl SimpleFunctionFactoryBase for Factory {
6870
_context: &FlowInstanceContext,
6971
) -> Result<(Self::ResolvedArgs, EnrichedValueType)> {
7072
let text = args_resolver.next_arg("text")?;
71-
let client = new_llm_embedding_client(spec.api_type, spec.address.clone(), spec.api_config.clone()).await?;
73+
let client =
74+
new_llm_embedding_client(spec.api_type, spec.address.clone(), spec.api_config.clone())
75+
.await?;
7276
let output_dimension = match spec.output_dimension {
7377
Some(output_dimension) => output_dimension,
7478
None => {

0 commit comments

Comments
 (0)