-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: add parallel tool execution support with configurable batching and strategies #2649
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
Open
fredzolio
wants to merge
2,540
commits into
letta-ai:main
Choose a base branch
from
fredzolio:feat/parallel_tool_execution
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: add parallel tool execution support with configurable batching and strategies #2649
fredzolio
wants to merge
2,540
commits into
letta-ai:main
from
fredzolio:feat/parallel_tool_execution
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…run postgres inside `app.ts` (letta-ai#1373)
Co-authored-by: Sarah Wooders <[email protected]>
Co-authored-by: Sarah Wooders <[email protected]> Co-authored-by: Shubham Naik <[email protected]> Co-authored-by: Shubham Naik <[email protected]> Co-authored-by: Charles Packer <[email protected]>
Co-authored-by: Matthew Zhou <[email protected]> Co-authored-by: Andy Li <[email protected]>
This commit brings back the changes introduced in commit ec95703, which were missing in the current main branch since 546996e. Co-authored-by: Miao <[email protected]>
…tta-ai#1898) fix: FastAPI router ordering for sources and tools
letta-ai#1880) docs: reorganize embedding models
b6907a4
to
ae775db
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Have you tested this PR?
Yes, I've tested the latest commit with:
Performance testing shows significant improvements:
All tests passed successfully, including edge cases like timeouts, retries, and error handling.
Is your PR over 500 lines of code?
Yes, this PR is approximately 800 lines of code. The size is justified because it implements a cohesive parallel execution system with several interdependent components:
Breaking this into separate PRs would make integration testing difficult since these components are designed to work together as a cohesive system. The implementation follows a clean, modular architecture that makes review manageable despite its size.
Additional context
This implementation follows Letta's existing architecture patterns and integrates seamlessly with the Agent system. Key benefits include: