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: missing auto mode callsites (#9768)

cthomas0f837992edbe
diff --git a/letta/groups/sleeptime_multi_agent_v3.py b/letta/groups/sleeptime_multi_agent_v3.py
index 0192e9b1d..4c1b95789 100644
--- a/letta/groups/sleeptime_multi_agent_v3.py
+++ b/letta/groups/sleeptime_multi_agent_v3.py
@@ -65,6 +65,7 @@ class SleeptimeMultiAgentV3(LettaAgentV2):
request_start_timestamp_ns=request_start_timestamp_ns,
client_tools=client_tools,
include_compaction_messages=include_compaction_messages,
+ auto_mode_enabled=auto_mode_enabled,
billing_context=billing_context,
)
@@ -85,6 +86,7 @@ class SleeptimeMultiAgentV3(LettaAgentV2):
include_return_message_types: list[MessageType] | None = None,
client_tools: list[ClientToolSchema] | None = None,
include_compaction_messages: bool = False,
+ auto_mode_enabled: bool = False,
billing_context: "BillingContext | None" = None,
) -> AsyncGenerator[str, None]:
self.run_ids = []
@@ -104,6 +106,7 @@ class SleeptimeMultiAgentV3(LettaAgentV2):
request_start_timestamp_ns=request_start_timestamp_ns,
client_tools=client_tools,
include_compaction_messages=include_compaction_messages,
+ auto_mode_enabled=auto_mode_enabled,
billing_context=billing_context,
):
yield chunk
diff --git a/letta/groups/sleeptime_multi_agent_v4.py b/letta/groups/sleeptime_multi_agent_v4.py
index 782094eae..dc1ceaa61 100644
--- a/letta/groups/sleeptime_multi_agent_v4.py
+++ b/letta/groups/sleeptime_multi_agent_v4.py
@@ -66,6 +66,7 @@ class SleeptimeMultiAgentV4(LettaAgentV3):
conversation_id=conversation_id,
client_tools=client_tools,
include_compaction_messages=include_compaction_messages,
+ auto_mode_enabled=auto_mode_enabled,
billing_context=billing_context,
)
@@ -86,6 +87,7 @@ class SleeptimeMultiAgentV4(LettaAgentV3):
conversation_id: str | None = None,
client_tools: list[ClientToolSchema] | None = None,
include_compaction_messages: bool = False,
+ auto_mode_enabled: bool = False,
billing_context: "BillingContext | None" = None,
) -> AsyncGenerator[str, None]:
self.run_ids = []
@@ -106,6 +108,7 @@ class SleeptimeMultiAgentV4(LettaAgentV3):
conversation_id=conversation_id,
client_tools=client_tools,
include_compaction_messages=include_compaction_messages,
+ auto_mode_enabled=auto_mode_enabled,
billing_context=billing_context,
):
yield chunk