oktofeesh
a3c6e075f6
fix(go-models): add VolcEngine model listing suffix ( #15234 )
...
## Summary
- add the VolcEngine `models` URL suffix used by the existing Go
`ListModels` implementation
- return a clear error when the VolcEngine models suffix is missing
- add focused VolcEngine model-listing regression tests
## What changed
- Added `url_suffix.models` to `conf/models/volcengine.json`.
- Normalized the configured models suffix before building the request
URL.
- Covered config loading, successful model listing, upstream errors, and
missing suffix handling.
## Why
`VolcEngine.ListModels` already builds requests from `URLSuffix.Models`,
but the bundled VolcEngine config did not define that suffix. That left
the model-listing path unable to call the documented `/models` endpoint
from the existing provider config.
Fixes #14701
Co-authored-by: Jin Hai <haijin.chn@gmail.com >
2026-05-27 13:14:56 +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-27 13:14:56 +08:00
2026-05-27 13:14:56 +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