fix: hugging face embedding test [LET-4064] (#4246)
* fix: hugging face embedding test * openapi sync
This commit is contained in:
@@ -58,7 +58,7 @@ class LLMClient:
|
||||
put_inner_thoughts_first=put_inner_thoughts_first,
|
||||
actor=actor,
|
||||
)
|
||||
case ProviderType.openai | ProviderType.ollama:
|
||||
case ProviderType.openai | ProviderType.ollama | ProviderType.hugging_face:
|
||||
from letta.llm_api.openai_client import OpenAIClient
|
||||
|
||||
return OpenAIClient(
|
||||
|
||||
@@ -3,21 +3,22 @@ from enum import Enum, StrEnum
|
||||
|
||||
class ProviderType(str, Enum):
|
||||
anthropic = "anthropic"
|
||||
azure = "azure"
|
||||
bedrock = "bedrock"
|
||||
cerebras = "cerebras"
|
||||
deepseek = "deepseek"
|
||||
google_ai = "google_ai"
|
||||
google_vertex = "google_vertex"
|
||||
openai = "openai"
|
||||
groq = "groq"
|
||||
hugging_face = "hugging-face"
|
||||
letta = "letta"
|
||||
deepseek = "deepseek"
|
||||
cerebras = "cerebras"
|
||||
lmstudio_openai = "lmstudio_openai"
|
||||
xai = "xai"
|
||||
mistral = "mistral"
|
||||
ollama = "ollama"
|
||||
groq = "groq"
|
||||
openai = "openai"
|
||||
together = "together"
|
||||
azure = "azure"
|
||||
vllm = "vllm"
|
||||
bedrock = "bedrock"
|
||||
xai = "xai"
|
||||
|
||||
|
||||
class ProviderCategory(str, Enum):
|
||||
|
||||
Reference in New Issue
Block a user