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

chore: Catch orm specific issues in agents v1 routes and simplify tool add/remove from agent #2259

Merged

Conversation

mattzh72
Copy link
Collaborator

Description

Two main changes:

  • We catch all NoResultFound errors from the v1 routes
  • We simplify tool attach/detach from an agent, and add functions/tests natively to the agent manager

However, there is a still a great deal of bloat/tech debt around adding/removing tools that could cause bugs. Need further PRs to clean this logic.

Testing

Added additional testing to test_managers.py.

letta/server/server.py Show resolved Hide resolved
@mattzh72 mattzh72 merged commit f1e125d into main Dec 16, 2024
39 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