Add tool calling and structured outputs to FL SDK v2#456
Merged
kunal-vaishnavi merged 15 commits intomainfrom Feb 26, 2026
Merged
Add tool calling and structured outputs to FL SDK v2#456kunal-vaishnavi merged 15 commits intomainfrom
kunal-vaishnavi merged 15 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
skottmckay
reviewed
Feb 26, 2026
baijumeswani
approved these changes
Feb 26, 2026
prathikr
pushed a commit
that referenced
this pull request
Feb 26, 2026
* Add tool calling and structured outputs to FL C# SDK * Fix JSON parsing and parameter order for unit tests * Fix order of expected arguments * Get FL C# SDK E2E samples via interop and web working * Increase ORT GenAI version to 0.12.1 * Get FL JS SDK E2E samples via interop and web working * Remove changes made for local testing purposes * Add changes suggested during PR review * Separate tool calling examples * Remove unneeded param attribute * Update FL Core versions * Omit passing in FL Core version in C# YAML file for now * Remove useNightly usage from JS build * Remove nightly flag from npm install * Put back useNightly usage in JS build
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
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.
Description
This PR adds tool calling and structured outputs to Foundry Local SDK v2. Examples using the v2 SDK are shown via interop and HTTP in C#, JavaScript, and TypeScript.
Motivation and Context
Foundry Local SDK v1 supports tool calling and structured outputs. My internal PR adds this support for the v2 SDK and is a dependency for this PR to work.