JPette1783
daa3811165
feat(models): add shared HTTP client, SSE parser, and stub helpers for Go model drivers ( #15821 )
...
### What problem does this PR solve?
The Go model-driver layer () has ~38,700 lines across 109 files. Roughly
74% of that is boilerplate duplicated into every driver: identical HTTP
client setup, the same 65-line SSE scanner loop, and 10-11 one-line "not
supported" stub methods per driver. Any fix must be manually propagated
to every file. Closes #15820 .
This PR establishes the three shared utility files that form the
foundation for incremental driver migration:
---
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Refactoring
---------
Co-authored-by: Haruko386 <tryeverypossible@163.com >
2026-06-11 19:20:12 +08:00
..
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 19:01:00 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 19:32:19 +08:00
2026-06-08 19:32:19 +08:00
2026-05-26 10:52:09 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 19:01:00 +08:00
2026-06-08 13:09:36 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 13:32:50 +08:00
2026-06-11 13:32:50 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-05-18 12:03:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 20:06:57 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-03 19:16:28 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 17:55:13 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-02 13:40:10 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 20:06:57 +08:00
2026-06-11 19:20:12 +08:00
2026-05-11 17:21:16 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-05-25 10:25:53 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 20:06:57 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 13:32:52 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 13:10:10 +08:00
2026-06-11 19:20:12 +08:00
2026-06-02 15:27:26 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-11 17:55:13 +08:00
2026-05-21 15:33:21 +08:00
2026-06-11 19:20:12 +08:00
2026-05-15 13:27:22 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-05-29 19:34:00 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-08 21:11:21 +08:00
2026-06-11 19:20:12 +08:00
2026-06-09 21:12:15 +08:00
2026-06-11 19:20:12 +08:00
2026-06-03 19:16:28 +08:00
2026-06-11 19:20:12 +08:00
2026-05-22 11:53:18 +08:00
2026-05-26 10:50:06 +08:00
2026-06-11 19:20:12 +08:00