feat: modal tool execution - NO FEATURE FLAGS USES MODAL [LET-4357] (#5120)

* initial commit

* add delay to deploy

* fix tests

* add tests

* passing tests

* cleanup

* and use modal

* working on modal

* gate on tool metadata

* agent state

* cleanup

---------

Co-authored-by: Letta Bot <noreply@letta.com>
This commit is contained in:
Sarah Wooders
2025-11-11 18:21:51 -08:00
committed by Caren Thomas
parent 2a8523aa01
commit 5730f69ecf
12 changed files with 1314 additions and 390 deletions

View File

@@ -395,7 +395,7 @@ def test_function_always_error(client: Letta):
assert response_message.status == "error"
# TODO: add this back
# assert "Error executing function testing_method" in response_message.tool_return, response_message.tool_return
assert "ZeroDivisionError: division by zero" in response_message.stderr[0]
assert "division by zero" in response_message.stderr[0]
client.agents.delete(agent_id=agent.id)