Repository navigation
docs(models): deepseek-v4-flash json_schema served on api.nan.builders (non-streamed chat, no tools) - #193
Merged
Conversation
…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>
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.
What
Member docs for the community json_schema wrapper (helmcode/nan-devops#884): on
api.nan.builders,deepseek-v4-flashnow servesresponse_formatjson_schemaon non-streamed/chat/completionsrequests without tools (the gateway checks the answer against the schema and re-serves a miss from a provider that enforces it). Streamed,toolsand/responsesjson_schema requests keep the400on 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:ResponseFormatdescription.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