jay77721
5244e28c57
refactor(go-models): migrate remaining OpenAI-compatible drivers to shared HTTP pipeline ( #17787 )
...
Relate to #17284 .
## Summary
Batch 5/6 migrated the rest of the Go model drivers onto the shared HTTP
helpers (`doRequest`, `doStreamRequest`, `applyAuth`). This PR completes
the batch for the remaining OpenAI-compatible chat-streaming drivers
that were still hand-writing HTTP requests:
- **7 drop-in migrations**: deepseek, gpustack, groq, longcat, moonshot,
openai, siliconflow
- **1 adapter migration**: minimax (relocated its `io.Pipe`
error-interception into the `doStreamRequest` handler)
- **1 full migration**: azure_openai (all four paths: chat, streaming,
embeddings, list-models) plus the auth header hook
- **1 receiver fix**: nvidia `NewInstance` value → pointer
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-08-04 16:59:25 +08:00
..
2026-07-31 19:15:38 +08:00
2026-08-03 21:30:01 +08:00
2026-08-04 16:39:31 +08:00
2026-08-04 16:39:31 +08:00
2026-07-31 19:15:38 +08:00
2026-08-04 14:07:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 21:30:01 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 12:13:43 +08:00
2026-08-04 16:59:25 +08:00
2026-08-04 16:59:25 +08:00
2026-08-03 21:30:01 +08:00
2026-08-03 21:30:01 +08:00
2026-08-04 14:07:45 +08:00
2026-08-04 14:07:45 +08:00
2026-08-04 14:07:45 +08:00
2026-08-03 21:30:01 +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-08-03 21:30:01 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 12:13:43 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +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-04 16:59:25 +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-08-03 18:07:41 +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 18:07:41 +08:00
2026-08-03 13:54:35 +08:00
2026-08-04 14:07:45 +08:00
2026-08-04 14:07:45 +08:00
2026-07-31 19:15:38 +08:00
2026-08-04 16:59:25 +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-04 16:59:25 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 21:30:01 +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 18:07:55 +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-04 16:59: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-04 16:59:25 +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-04 16:59:25 +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-04 14:42:16 +08:00
2026-08-04 14:42:16 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-04 16:59: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-04 16:59:25 +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-08-04 14:07: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-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-07-31 19:15:38 +08:00
2026-08-04 16:59: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-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-08-03 20:19:22 +08:00
2026-07-31 19:15:38 +08:00
2026-07-31 19:15:38 +08:00
2026-08-03 20:19:22 +08:00