Skip to content

feat: tool calling #59

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 8 commits into from
Jul 22, 2025
Merged

feat: tool calling #59

merged 8 commits into from
Jul 22, 2025

Conversation

grabbou
Copy link
Contributor

@grabbou grabbou commented Jul 19, 2025

Tool call works in an example, so I think this is good to go! There's lots of changes, so I am happy to mark this as experimental and split into follow-ups.

I moved parser outside of AppleLLM class, hence the diff is slightly larger.

TODO:

  • Dynamic tool creation
  • Fix arguments passing

Here's a couple of additional things I caught:

Copy link

changeset-bot bot commented Jul 19, 2025

⚠️ No Changeset found

Latest commit: 30b61f6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Jul 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 21, 2025 6:37am

@grabbou grabbou marked this pull request as ready for review July 20, 2025 21:20
Copy link
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

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

Nice! So good for DevX that we omitted codegen 🙏

@grabbou
Copy link
Contributor Author

grabbou commented Jul 22, 2025

Yeah! I run across this comment on Apple forum where they explain how to do it, which caught me by surprise!

@grabbou grabbou merged commit 317fb55 into main Jul 22, 2025
4 of 5 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