Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch typo in azure provider that broke it (#705)
Charles Packereda6020712c7
diff --git a/letta/schemas/providers.py b/letta/schemas/providers.pyindex d17494480..0699af982 100644--- a/letta/schemas/providers.py+++ b/letta/schemas/providers.py@@ -614,8 +614,13 @@ class AzureProvider(Provider):context_window_size = self.get_model_context_window(model_name)model_endpoint = get_azure_chat_completions_endpoint(self.base_url, model_name, self.api_version)configs.append(- LLMConfig(model=model_name, model_endpoint_type="azure", model_endpoint=model_endpoint, context_window=context_window_size),- handle=self.get_handle(model_name),+ LLMConfig(+ model=model_name,+ model_endpoint_type="azure",+ model_endpoint=model_endpoint,+ context_window=context_window_size,+ handle=self.get_handle(model_name),+ ),)return configsdiff --git a/letta/server/rest_api/routers/v1/llms.py b/letta/server/rest_api/routers/v1/llms.pyindex 4536ae498..2c05aa48c 100644--- a/letta/server/rest_api/routers/v1/llms.py+++ b/letta/server/rest_api/routers/v1/llms.py@@ -18,7 +18,7 @@ def list_llm_backends():models = server.list_llm_models()- print(models)+ # print(models)return models@@ -28,5 +28,5 @@ def list_embedding_backends():models = server.list_embedding_models()- print(models)+ # print(models)return models