fix: hugging face embedding test [LET-4064] (#4246)

* fix: hugging face embedding test

* openapi sync
This commit is contained in:
cthomas
2025-08-27 11:58:03 -07:00
committed by GitHub
parent c3855d7c16
commit b4e5018841
2 changed files with 9 additions and 8 deletions

View File

@@ -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(

View File

@@ -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):