Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix(core): summarizer default model (#10053)

Christina Tonge40119f20019
diff --git a/letta/services/agent_manager.py b/letta/services/agent_manager.py
index a4271169a..385fb632b 100644
--- a/letta/services/agent_manager.py
+++ b/letta/services/agent_manager.py
@@ -502,9 +502,9 @@ class AgentManager:
except (ValueError, TypeError): # unknown provider
default_model = None
- # Use agent's model as fallback
+ # Use agent's model handle as fallback
if not default_model:
- default_model = agent_create.llm_config.model
+ default_model = agent_create.llm_config.handle
if effective_compaction_settings is None:
# If no settings provided, INITIALIZE with default model