Files
oh-my-pi/packages
roboomp 0b1d4b1e28 test(ai): cover opencode-go deepseek-v4 reasoning_content replay
@yofriadi reports the same OpenCode Zen 'reasoning_content is missing'
400 on `opencode-go/deepseek-v4-flash` and `deepseek-v4-pro`. The
gateway is the same Zen instance and the wire-body invariant matches:
the streamed-signature path in convertMessages previously emitted both
`reasoning` and `reasoning_content` on DeepSeek turns, which the
strict schema flags exactly like the Kimi case.

The line-1488 fix from 4215228b8 already coerces the replay onto the
configured `reasoningContentField` whenever
`allowsSyntheticReasoningContentForToolCalls=false` — DeepSeek family
sets that flag — so deepseek-v4 payloads now carry only
`reasoning_content`. Add a streamOpenAICompletions + onPayload
regression test that pins the shape.
2026-05-28 18:48:50 +00:00
..
2026-05-28 14:50:02 +02:00
2026-05-28 14:50:02 +02:00
2026-05-28 14:50:02 +02:00
2026-05-28 14:50:02 +02:00
2026-05-28 14:50:02 +02:00
2026-05-28 14:50:02 +02:00