fix: missing await for lettuce (#5224)

This commit is contained in:
cthomas
2025-10-07 14:10:25 -07:00
committed by Caren Thomas
parent 346db5ce60
commit e93a0e8050

View File

@@ -1689,7 +1689,7 @@ async def send_message_async(
agent_id, actor, include_relationships=["memory", "multi_agent_group", "sources", "tool_exec_environment_variables", "tools"]
)
if agent_state.multi_agent_group is None and agent_state.agent_type != AgentType.letta_v1_agent:
lettuce_client = LettuceClient.create()
lettuce_client = await LettuceClient.create()
run_id_from_lettuce = await lettuce_client.step(
agent_state=agent_state,
actor=actor,