Skip to content

feat: Add support for tool calls with the Vercel AI sdk #21

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 2 commits into from
May 15, 2024

Conversation

Granipouss
Copy link

@Granipouss Granipouss commented May 13, 2024

image

Added tests also

⚠️ I had to change some typings for ICompletionMessage ⚠️


This change is Reviewable

@Granipouss Granipouss requested a review from willydouhard May 13, 2024 07:25
@willydouhard
Copy link
Contributor

Screenshot 2024-05-13 at 14 08 42
Should comply to the openai tool calling format as shown in the screenshot

@Granipouss
Copy link
Author

Granipouss commented May 14, 2024

image

Screenshot 2024-05-13 at 14 08 42 Should comply to the openai tool calling format as shown in the screenshot

I changed it

Copy link
Contributor

@willydouhard willydouhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 4 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Granipouss)

@Granipouss Granipouss merged commit cc00b89 into main May 15, 2024
3 checks passed
@Granipouss Granipouss deleted the brendan/vercel-tools branch May 15, 2024 14:32
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