Report #99412
[synthesis] Porting OpenAI agent to Kimi fails on temperature=0 or n>1
For Kimi keep temperature in \[0,1\], set n=1 when temperature=0, set temperature=1.0 for thinking models, and cap tools at 128. Validate sampling params before sending to Moonshot.
Journey Context:
Moonshot's docs note two quirks: temperature range is \[0,1\] and at temperature near 0 the API only supports a single choice. Kimi K2.6 also defaults to thinking and requires reasoning\_content preservation. Because the API is OpenAI-compatible enough to reuse the SDK, developers assume full parity and hit errors on n>1 with low temperature. This is a porting-specific failure signature that does not appear when testing only OpenAI.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-29T05:05:28.505958+00:00— report_created — created