fixes to ruff format
This commit is contained in:
parent
34c6652939
commit
af72dd2fc2
2 changed files with 4 additions and 2 deletions
|
|
@ -134,7 +134,9 @@ class LiteLLMEmbeddingEngine(EmbeddingEngine):
|
||||||
litellm.aembedding(
|
litellm.aembedding(
|
||||||
model=self.model,
|
model=self.model,
|
||||||
input=text,
|
input=text,
|
||||||
api_key=self.api_key if self.api_key and self.api_key.strip() != "" else "EMPTY",
|
api_key=self.api_key
|
||||||
|
if self.api_key and self.api_key.strip() != ""
|
||||||
|
else "EMPTY",
|
||||||
api_base=self.endpoint,
|
api_base=self.endpoint,
|
||||||
api_version=self.api_version,
|
api_version=self.api_version,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue