-
Notifications
You must be signed in to change notification settings - Fork 334
add client-defined tools and prepareSendMessagesRequest options #729
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
129e6b6
add client-defined tools and prepareSendMessagesRequest options
whoiskatrin 68071e6
fix client tools execution
whoiskatrin e6e76cf
minor nits
whoiskatrin bc2e874
some claude review feedback
whoiskatrin fca9db3
refactor
whoiskatrin f99d9b7
Refactor useAgentChat
whoiskatrin 63f9996
more nits
whoiskatrin 3620f91
take a different approach
whoiskatrin 800bbd9
cleanup after the refactor
whoiskatrin a526cc0
fix param convertion
whoiskatrin 44e9333
improve tool execution handling in useAgentChat
whoiskatrin 6cdec1f
fix request body structure in useAgentChat to include id, messages, a…
whoiskatrin 2e7f062
review comments on types
whoiskatrin 1f62a81
filter broadcast id's out
whoiskatrin 461306e
fix types
whoiskatrin 44e9f40
fix msg duplication
whoiskatrin 7bbbb1b
fix the duplication issue in client tools
whoiskatrin 0faeb1a
fix types
whoiskatrin 365394d
fix types
whoiskatrin ab2b997
remove example from the git
whoiskatrin afb31c1
Send tool results to server as source of truth
whoiskatrin 6cae864
remove automatic message sending after tool results
whoiskatrin 8585098
cleanup the tests
whoiskatrin dc0736b
fix OpenAI item ID stripping to prevent duplicate errors in persisted…
whoiskatrin 939c0fc
minor nits
whoiskatrin b8026ae
add server-side auto-continuation after tool results for improved UX;…
whoiskatrin 27f8a8e
update useAgentChat to include autoContinueAfterToolResult in message…
whoiskatrin 88ed2e2
fix for non human in the loop tools
whoiskatrin 7d1aede
update the tests
whoiskatrin 2f2edf6
Update slow-jobs-boil.md with new options
whoiskatrin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: naming here. Can we not build this type from ai sdk tools omitting
execute