jay77721
31264bafb2
feat(go-models): migrate batch 4 model drivers to unified handlers ( #17699 )
...
## Summary
Relate to #17284
Migrate 10 OpenAI-compatible drivers (`orcarouter`, `perplexity`,
`ppio`, `qiniu`, `ragcon`, `stepfun`, `togetherai`, `tokenhub`,
`tokenpony`, `upstage`) to use the unified response handlers
(`HandleNonStreamingResponse` / `HandleStreamingResponse`), following
the same pattern established by `deepseek` in #17634 .
- Cut ~150 lines per driver (1436 lines removed, 62 added across 10
files).
- No functional changes — pure deduplication of HTTP plumbing.
- Each driver now routes through `baseModel.doRequest()` and
`HandleNonStreamingResponse()`.
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-08-03 17:48:45 +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-06-02 13:40:10 +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-08-03 17:48:45 +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 17:48:45 +08:00
2026-08-03 17:48:45 +08:00
2026-08-03 17:48:45 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 17:48:45 +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 17:48:45 +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 17:48:45 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 17:48:45 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 17:48:45 +08:00
2026-07-31 19:15:38 +08:00
2026-07-28 19:16:31 +08:00
2026-08-03 17:48:45 +08:00
2026-08-03 17:48:45 +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