fix(deepseek-v41): backport upstream Responses text-part support - #790
voipmonitor wants to merge 1 commit into
Conversation
Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: CedricHuang <38417461+CedricHwong@users.noreply.github.com> (cherry picked from commit 87cd288) Signed-off-by: Martin Vit <martin@voipmonitor.org>
|
Warning Review limit reachedNext included review available in 47 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
Purpose
Accept valid Responses API text parts in the DeepSeek V4.1 tokenizer.
input_textandoutput_textrender identically to the existing ChatCompletions
textform. Image handling, separators, model execution andsampling are unchanged.
Backport of merged upstream vllm-project/vllm#56299,
which fixes #56297.
CedricHuang's authorship and original commit attribution are preserved.
Only its focused parity test is imported; unrelated upstream reasoning-budget
fixtures are not substituted for LIL's reference-encoder tests.
No equivalent open LIL fix was found. #787 addresses tool namespaces and
reminders, not Responses text-part types. Both changes compose in beta.
Validation
Status: qualified within the following tokenizer and live API checks.
187 passed, including both Responses parity cases.
input_textand assistantoutput_textproduce the same promptas
text; input messages remain unchanged.image without source mounts: string input, structured
input_text, streamedcompletion, assistant
output_texthistory, synthetic tool-call/resulthistory, and an image request with
detail: auto.Raw HTTP checks, native results and source identities.
AI-assisted backport and validation; human maintainer review remains required.
Tracked with the source review checklist in #773. Integration is restricted to
integration/beta; this PR does not authorize a JJ merge.