Repository navigation
Conversation
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b) Dedup check (查重): not a duplicate — searched open+closed issues/PRs for kimi / TOML-integer / window-limit terms; #6188 is the only PR touching this area and the sole fix for #6180. Direction (original-issue review). #6180: legitimate TOML integer spellings of What I verified independently (fresh checkout of the real head
Spec conformance. The new validator is the exact non-negative subset of the TOML 1.0.0 ABNF (checked against the official grammar): decimal with optional Regression inventory. Sibling finding — same defect, two more readers (belongs to #6180, not a new issue):
This PR fixes only the native-mode reader (
结构化八问:
判定:审核通过。 本地双向验证齐全(正向 43/43 + 负向控制精确复现 11 例失败)、TOML 规格逐条核对、回归清点干净、diff 收敛(kimi 两文件,+49/−2)。CI 尚在执行中(非红),转绿后即可合并;另有 client-config.ts 两处同机制遗留点归属 #6180,处置方式见上方待决项(A/B)。 |
|
Option A is now covered in this PR: I also added the missing Validation on the current source:
CI run 42995075326 is now green on this exact head, |
Fixes #6180
Problem
Valid TOML model limits such as
128_000,+262_144and hexadecimal/octal/binary integers are ignored by prefix-based readers. Floats and dates can also be misread as an integer prefix. This affects native Kimi routing, the launcher-side Kimi model-window map and Codex context/output/auto-compaction limits.Changes
Read the complete scalar and share a strict nonnegative TOML integer validator across the native Kimi reader and both sibling readers identified in review. Digit separators, optional decimal plus signs and the supported bases retain their exact values; malformed scalars and unsafe integers are ignored. Preserve Kimi override precedence and the original configuration text.
The sibling fixes are an additive commit on this PR, following option A from the review. Integer syntax: https://toml.io/en/v1.0.0#integer
Validation
Exact published head:
ec36a74925464250ff13780a75955dae3e5f2070. This preserves the architecture-map follow-up and merges current masterdc041dd1ab1a014efa352ba47a6f31fc47f55284; the targeted tests, typecheck and build below were rerun on the integrated source tree.git diff --checkpassed.The change repairs parsing of existing fields and adds no settings or kernel changes.