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: flip tls flag (#4806)

cthomasa60527184630
diff --git a/letta/agents/temporal_agent.py b/letta/agents/temporal_agent.py
index c11f6d25d..136170186 100644
--- a/letta/agents/temporal_agent.py
+++ b/letta/agents/temporal_agent.py
@@ -47,7 +47,7 @@ class TemporalAgent(BaseAgentV2):
settings.temporal_endpoint,
namespace=settings.temporal_namespace,
api_key=settings.temporal_api_key,
- tls=False, # This should be false for local runs
+ tls=True, # This should be false for local runs
)
workflow_input = WorkflowInputParams(
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py
index f0ba63cb2..2599f0d1c 100644
--- a/letta/server/rest_api/routers/v1/agents.py
+++ b/letta/server/rest_api/routers/v1/agents.py
@@ -1498,7 +1498,7 @@ async def cancel_agent_run(
settings.temporal_endpoint,
namespace=settings.temporal_namespace,
api_key=settings.temporal_api_key,
- tls=False, # This should be false for local runs
+ tls=True, # This should be false for local runs
)
await client.cancel_workflow(run_id)
success = await server.job_manager.safe_update_job_status_async(
diff --git a/letta/server/rest_api/routers/v1/runs.py b/letta/server/rest_api/routers/v1/runs.py
index c3dc0f1ab..9faa3e020 100644
--- a/letta/server/rest_api/routers/v1/runs.py
+++ b/letta/server/rest_api/routers/v1/runs.py
@@ -119,7 +119,7 @@ async def retrieve_run(
settings.temporal_endpoint,
namespace=settings.temporal_namespace,
api_key=settings.temporal_api_key,
- tls=False, # This should be false for local runs
+ tls=True, # This should be false for local runs
)
handle = client.get_workflow_handle(run_id)