Skip to content

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 - #329

Open
poissoncorp wants to merge 1 commit into
ravendb:v7.2from
poissoncorp:sdk-sync/RDBC-1216
Open

poissoncorp wants to merge 1 commit into
ravendb:v7.2from
poissoncorp:sdk-sync/RDBC-1216

Conversation

@poissoncorp

Copy link
Copy Markdown
Contributor

AI agent and GenAI tool queries and actions get strict, which sends a hand-written parameters_schema in the provider's strict mode.

  • Changed: AiAgentToolQuery and AiAgentToolAction take strict (default False); to_json writes Strict only when it is True, from_json reads it back.
  • Not ported: the Strict check in GenAiConfiguration.QueriesDiffer; the Python client has no configuration compare. The placement of strict in the provider request is server-side.
  • Tests: test_ravenDB_27249.py covers serialization, GenAI queries, and Strict surviving an agent save (from RavenDB_27249). The vLLM and request shape tests check server internals and are not ported.
  • Checks: black --check passed; the unit tests pass locally. The server test needs a licensed server and runs only in CI.

Ticket: RDBC-1216
C# change: ravendb/ravendb#23985

SDK Sync Agent

@poissoncorp poissoncorp added the sdk-sync Port of C# client changes from an SDK sync task label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-sync Port of C# client changes from an SDK sync task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant