Skip to content

fix(frontend): opt in GLM malformed history argument compatibility - #79

Merged
githubgxll merged 9 commits into
DingoRouter-basefrom
DingoRouter-base-1
Oct 21, 2026
Merged

githubgxll merged 9 commits into
DingoRouter-basefrom
DingoRouter-base-1

Conversation

@guojn1

@guojn1 guojn1 commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Overview:

Details:

Where should the reviewer start?

Related Issues

⚠️ This section is required. Every pull request references the issue it implements.

  • Closes #XXXX

… turns

Use control token IDs for GLM reasoning, report undeclared tool-only output as a generation error, validate tool result history, and run SGLang images as root. Add synthetic streaming regressions; 37 targeted Python tests passed. Rust tests deferred to CI.
Accept do_sample and project canonical greedy sampling options. Accept GLM-5.3 top_p=0 using the documented 0.95 default as a compatibility fallback; the hosted API's exact handling of zero is undocumented. Return empty content for reasoning-only length finishes.

Validation: Rust formatting, staged diff checks, and targeted docs lint passed. Rust unit tests remain blocked by the unavailable locked aisimulate-core dependency. Full docs navigation checks have pre-existing missing targets; Fern CLI is unavailable locally.
Replace reverted commit 2cd1ec0 while retaining its do_sample support and empty content for reasoning-only length finishes. Normalize explicit finite GLM-5.3 top_p values <=0 to 0.01 using the official synchronous SDK rule. Preserve model defaults, positive-value validation, and greedy sampling precedence.

Validation: 7 isolated checks of the actual normalization source passed, along with Rust formatting, staged diff checks, and targeted docs lint. Full crate tests remain blocked by the unavailable locked aisimulate-core dependency.
@guojn1
guojn1 had a problem deploying to external_collaborator October 21, 2026 02:37 — with GitHub Actions Failure
@github-actions github-actions Bot added documentation Improvements or additions to documentation frontend container actions labels Oct 21, 2026
@githubgxll
githubgxll merged commit f0a976b into DingoRouter-base Oct 21, 2026
10 of 14 checks passed

This branch had an error being deployed

1 failed deployment
external_collaborator — 3d6f6197 Deployed Oct 21, 2026 by guojn1 via ok-to-test #181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions container documentation Improvements or additions to documentation frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants