Repository navigation
RDBC-1216 RavenDB-27249 Send tool strict inside “function” and let the user set Strict for a hand-written schema, which fixes vLLM calling tools together with response_format - #732
Open
M4xymm wants to merge 1 commit into
Conversation
…e user set Strict for a hand-written schema, which fixes vLLM calling tools together with response_format Re-lands ravendb#699, reverted in ravendb#729.
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.
Issue link
https://issues.ravendb.net/issue/RDBC-1216
Description
Re-lands #699, reverted in #729 so that 7.2.10 shipped without it. Merge once the C# change is in a released RavenDB version.
AI agent tool queries and actions, and GenAI task queries, accept an optional
strictflag that sends a hand-writtenparametersSchemain strict mode.Port of PR #23985
strict?: booleanonAiAgentToolQueryandAiAgentToolAction;GenAiConfigurationserializesStrictfor its queries only when it istrue, as the C# client does.strictinsidefunction, the Anthropic schema handling and theGenAiConfigurationchange comparison, which are server-side in the Node.js client.test/Ported/Issues/RavenDB_27249.tschecks thatstrictsurvives saving an agent and that GenAI query serialization sendsStrictonly when set; the C# tests on server request shapes are not ported.Type of change
Target branch and backports
v7.2,v7.1,v7.0,v6.0)How risky is the change?
Backward compatibility
Server compatibility
Affected runtimes
Public API
src/index.ts(npm run check-exportspasses).package.jsonandCLIENT_VERSIONinsrc/Http/RequestExecutor.ts(sync / release PRs only)Documentation update
README.mdhas been updatedTesting by Contributor
npm run lint,npm run build,npm run check-exportsandnpm run check-importspass locallyRAVENDB_TEST_SERVER_PATH/RAVENDB_SERVER_VERSION)Dependencies
Is there any existing behavior change of other features due to this change?
Ticket: RDBC-1216
C# change: ravendb/ravendb#23985
SDK Sync Agent