Repository navigation
chore(10-24-2026): update schemas - #122
Merged
Merged
Conversation
…xtract duration - add client.classify.run_job() for POST /classify_async (AsyncClassifyResponse) - add settings.return_citations - add duration to ExtractResponse and V3Extract - remove FigureAgentic.return_overlays (dropped from the spec) - refresh spec/openapi.json and drift allowlist - e2e tests for the new surface
Merged
This was referenced Oct 24, 2026
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.
Summary
Brings
src/reducto/in line with the live spec athttps://reducto.ai/openapi.json(v1.12.20-329-g39692c7ddfb9). Before this PR,scripts/spec_drift.py --livereported 6 drift items. Now it reports no drift across 20 endpoints.New endpoint
client.classify.run_job(...)→POST /classify_async. It takes the same params asrun(), plusasync_(metadata,priority,webhook). It returnsAsyncClassifyResponse {job_id}. Get the result withclient.job.get(job_id).Request types
settings.return_citationsadded. It gives per-wordextra['word_citations']and, for tables,extra['cell_citations']. It needssettings.model="r-1"FigureAgentic.return_overlaysremoved (the spec dropped it)Response types
durationadded toExtractResponseandV3Extract.Drift allowlist
POST /classifyrequest.async. Both endpoints useClassifyConfig, but the spec saysasyncis only for/classify_async. So onlyrun_jobtakesasync_.object(8 fields), becauseExtractResponsegainedduration.Breaking change
FigureAgentic.return_overlaysis no longer in the types. Code that still sends it works at runtime, but type checkers report it.Tests
classify.run_job(sync and async, raw and streaming).TestClassifyAsync(submit, poll, check theClassifyResponse),TestParse.test_return_citationsandTestExtract.test_duration. The full e2e suite gives 35 passed.Need help on this PR? Tag
@codesmith-botwith what you need.