oktofeesh
5ae41dc1eb
fix(go-models): route hosted OCR providers through drivers ( #15233 )
...
## Summary
- route hosted MinerU.Net and PaddleOCR.Net provider names to their
existing Go drivers
- add regression coverage for loading the hosted OCR provider configs
through ProviderManager
## What changed
- Added canonical provider-name aliases for the hosted OCR provider
display names.
- Covered both bundled configs with a focused provider-manager test.
## Why
The hosted provider configs use display names with `.Net`, while model
factory dispatch lowercases the provider name. Without aliases, those
configs fall through to `DummyModel` instead of using the existing
MinerU and PaddleOCR drivers.
---------
Co-authored-by: Jin Hai <haijin.chn@gmail.com >
2026-05-26 20:40:40 +08:00
..
2026-05-20 14:10:15 +08:00
2026-05-15 18:41:43 +08:00
2026-05-18 12:03:33 +08:00
2026-05-18 12:03:33 +08:00
2026-05-21 15:32:56 +08:00
2026-05-22 18:02:01 +08:00
2026-05-21 15:32:49 +08:00
2026-05-21 15:32:49 +08:00
2026-05-21 11:52:56 +08:00
2026-05-15 18:41:43 +08:00
2026-05-26 10:51:05 +08:00
2026-05-26 17:10:06 +08:00
2026-05-26 17:10:06 +08:00
2026-05-22 11:52:18 +08:00
2026-05-18 14:31:16 +08:00
2026-05-20 14:10:15 +08:00
2026-04-27 14:53:33 +08:00
2026-05-26 10:52:09 +08:00
2026-05-26 10:52:09 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-26 20:40:40 +08:00
2026-05-22 11:52:18 +08:00
2026-05-26 10:51:29 +08:00
2026-05-19 10:49:33 +08:00
2026-05-11 11:25:17 +08:00
2026-05-15 18:41:43 +08:00
2026-05-21 11:49:18 +08:00
2026-05-21 11:49:18 +08:00
2026-05-22 15:24:52 +08:00
2026-05-22 18:02:30 +08:00
2026-05-26 17:13:15 +08:00
2026-05-15 18:41:43 +08:00
2026-05-25 11:04:39 +08:00
2026-05-25 16:04:17 +08:00
2026-05-20 14:10:15 +08:00
2026-05-18 12:03:12 +08:00
2026-05-18 12:03:12 +08:00
2026-05-15 18:41:43 +08:00
2026-05-13 19:35:19 +08:00
2026-05-15 18:41:43 +08:00
2026-05-26 19:58:53 +08:00
2026-05-26 19:58:53 +08:00
2026-05-20 19:21:57 +08:00
2026-05-19 10:49:33 +08:00
2026-05-18 16:57:42 +08:00
2026-05-21 15:33:14 +08:00
2026-05-22 11:52:18 +08:00
2026-05-26 18:18:46 +08:00
2026-05-26 18:18:46 +08:00
2026-05-21 18:28:06 +08:00
2026-05-21 10:13:15 +08:00
2026-05-21 10:19:17 +08:00
2026-05-21 18:28:06 +08:00
2026-05-11 17:21:16 +08:00
2026-05-15 18:41:43 +08:00
2026-05-25 18:55:03 +08:00
2026-05-25 10:25:53 +08:00
2026-05-25 10:25:53 +08:00
2026-05-22 15:19:38 +08:00
2026-05-22 15:19:38 +08:00
2026-05-26 18:20:33 +08:00
2026-05-25 12:12:57 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 15:33:02 +08:00
2026-05-21 15:33:02 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 15:32:41 +08:00
2026-05-18 16:57:42 +08:00
2026-05-15 18:41:43 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 20:57:04 +08:00
2026-05-26 17:12:37 +08:00
2026-05-26 17:12:37 +08:00
2026-05-22 15:21:45 +08:00
2026-05-22 15:21:45 +08:00
2026-05-19 10:49:33 +08:00
2026-05-21 15:33:21 +08:00
2026-05-21 15:33:21 +08:00
2026-05-15 13:27:22 +08:00
2026-05-15 18:41:43 +08:00
2026-05-15 18:41:43 +08:00
2026-05-14 09:46:54 +08:00
2026-05-15 18:41:43 +08:00
2026-05-26 19:58:20 +08:00
2026-05-26 19:58:20 +08:00
2026-05-22 11:52:18 +08:00
2026-05-21 18:28:06 +08:00
2026-05-22 11:52:18 +08:00
2026-05-22 11:53:18 +08:00
2026-05-26 10:50:06 +08:00
2026-05-26 10:50:06 +08:00