Skip to content

Generate agent tool schemas via schemars - #3300

Open
texodus wants to merge 3 commits into
masterfrom
schemars
Open

texodus wants to merge 3 commits into
masterfrom
schemars

Conversation

@texodus

@texodus texodus commented Nov 28, 2026

Copy link
Copy Markdown
Member

The embedded agent's tool parameters (ViewerConfigUpdate, ViewerConfigInitial, WorkspaceConfigUpdate) were produced by running ts-json-schema-generator over the ts-rs .d.ts output. That produces draft-07 JSON Schema; newer provider REST specs require draft 2020-12 for tool schemas and reject the entire request when a tool's schema doesn't conform. This PR generates the schemas from the Rust config types instead.

Drive-bys

  • Accept RecordBatch from Python - client.table() and update() accept a pyarrow.RecordBatch as well as a pyarrow.Table.

Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the bug Concrete, reproducible bugs label Nov 28, 2026
@texodus
texodus added this pull request to stack #3302 November 28, 2026 16:04
@texodus
texodus marked this pull request as ready for review November 28, 2026 17:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs

Development

Successfully merging this pull request may close these issues.

1 participant