jay77721
1478aa4ced
feat(go-models): migrate batch 3 model drivers to unified handlers ( #17698 )
...
## Summary
Relate to #17284
Migrate 10 OpenAI-compatible drivers (`minimax`, `mistral`,
`modelscope`, `moonshot`, `n1n`, `novita`, `ollama`, `openai`,
`openai_api_compatible`, `openrouter`) to use the unified response
handlers (`HandleNonStreamingResponse` / `HandleStreamingResponse`),
following the same pattern established by `deepseek` in #17634 .
- Cut ~150 lines per driver (1692 lines removed, 172 added across 10
files).
- `openai_api_compatible` gains `ChatWithMessages` +
`ChatStreamlyWithSender` required by the unified handler infrastructure.
- `openai` driver preserves `reasoning_content` extraction for o-series
models.
- All drivers: pure deduplication of HTTP plumbing.
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-08-03 15:08:55 +08:00
..
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-22 22:30:57 +08:00
2026-07-22 22:30:57 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 18:32:07 +08:00
2026-06-08 19:32:19 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-22 22:30:57 +08:00
2026-07-28 19:19:00 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-07-21 13:51:17 +08:00
2026-07-21 13:51:17 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 18:40:11 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 13:54:35 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 13:54:35 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 10:05:25 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-07-24 19:23:51 +08:00
2026-07-24 19:23:51 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-08-03 13:54:35 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 10:05:25 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-14 21:06:11 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 10:05:25 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 15:08:55 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 10:05:25 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-28 19:16:31 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 18:32:07 +08:00
2026-07-31 18:32:07 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 11:25:25 +08:00
2026-08-03 11:25:25 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00