Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: propagate error on tool failure #2281

Merged

Conversation

carenthomas
Copy link
Collaborator

Please describe the purpose of this pull request.
reinstate prior functionality. following up with a more robust implementation that doesn't infer status based on the string (but this is fine for now since I am setting the string the same way at all callsites)

How to test
How can we test your PR during review? What commands should we run? What outcomes should we expect?
poetry run pytest -s -vv tests/test_client.py::test_function_always_error

Have you tested this PR?
Have you tested the latest commit on the PR? If so please provide outputs from your tests.

Related issues or PRs
Please link any related GitHub issues or PRs.

Is your PR over 500 lines of code?
If so, please break up your PR into multiple smaller PRs so that we can review them quickly, or provide justification for its length.

Additional context
Add any other context or screenshots about the PR here.

letta/agent.py Outdated Show resolved Hide resolved
@carenthomas carenthomas force-pushed the caren/let-573-when-a-tool-fails-do-not-propogate-ok branch from 3527008 to 1e34c3a Compare December 19, 2024 23:14
@carenthomas carenthomas force-pushed the caren/let-573-when-a-tool-fails-do-not-propogate-ok branch from 1e34c3a to a595374 Compare December 20, 2024 20:11
@sarahwooders sarahwooders merged commit 50c3e00 into main Dec 21, 2024
38 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants