Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: always default to openai client in llm client factory [LET-4176] (#4377)
cthomas40f03b978021
diff --git a/letta/llm_api/llm_client.py b/letta/llm_api/llm_client.pyindex 5298a974b..d778b319d 100644--- a/letta/llm_api/llm_client.py+++ b/letta/llm_api/llm_client.py@@ -58,13 +58,6 @@ class LLMClient:put_inner_thoughts_first=put_inner_thoughts_first,actor=actor,)- case ProviderType.openai | ProviderType.ollama | ProviderType.hugging_face:- from letta.llm_api.openai_client import OpenAIClient-- return OpenAIClient(- put_inner_thoughts_first=put_inner_thoughts_first,- actor=actor,- )case ProviderType.together:from letta.llm_api.together_client import TogetherClient@@ -101,4 +94,9 @@ class LLMClient:actor=actor,)case _:- return None+ from letta.llm_api.openai_client import OpenAIClient++ return OpenAIClient(+ put_inner_thoughts_first=put_inner_thoughts_first,+ actor=actor,+ )