Skip to content

docs(models): deepseek-v4-flash json_schema served on api.nan.builders (non-streamed chat, no tools) - #193

Merged
sre-helmcode merged 3 commits into
mainfrom
docs/community-json-schema
Oct 17, 2026
Merged

sre-helmcode merged 3 commits into
mainfrom
docs/community-json-schema

Conversation

@sre-helmcode

Copy link
Copy Markdown
Contributor

What

Member docs for the community json_schema wrapper (helmcode/nan-devops#884): on api.nan.builders, deepseek-v4-flash now serves response_format json_schema on non-streamed /chat/completions requests without tools (the gateway checks the answer against the schema and re-serves a miss from a provider that enforces it). Streamed, tools and /responses json_schema requests keep the 400 on api.nan.builders; api.helmcode.com is unchanged (accepted everywhere).

Updated, EN and ES:

  • models.mdx: the deepseek-v4-flash card description and its capability line (was "json_schema: 400 on api.nan.builders, accepted on api.helmcode.com").
  • examples.md: the "structured output on deepseek-v4-flash" intro (the forced-tool recipe now applies to the requests the gateway still refuses).
  • openapi.json: ResponseFormat description.
  • openapiSpec.test.ts: the assertions that pinned the old wording now pin the new one, and refuse the old blanket "rejected" sentence.

Merge order

Merge only after nan-devops#884 is deployed to litellm-community (until then the docs would promise what the gateway still refuses).

Tests

  • npx vitest run: 86 files, 2490 tests passed.
  • npm run build: complete.

🤖 Generated with Claude Code

barckcode and others added 3 commits October 16, 2026 15:15
…ders for non-streamed chat without tools

The community gateway now serves response_format json_schema on
deepseek-v4-flash for non-streamed /chat/completions requests without tools
(checked against the schema; a miss is re-served by a provider that enforces
it). Streamed, tools and /responses json_schema requests keep the 400 on
api.nan.builders. Model cards, examples and the API reference updated in both
locales; the spec tests pin the new wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…builders; soften the re-serve promise

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…unchecked answer is returned as is

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sre-helmcode
sre-helmcode merged commit f057a40 into main Oct 17, 2026
1 check passed
@barckcode
barckcode deleted the docs/community-json-schema branch October 17, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants