Commit Graph

162 Commits

Author SHA1 Message Date
Shakker 00d2c34889 perf: mark provider plugins startup lazy 2026-04-28 04:33:47 +01:00
Peter Steinberger 1945389374 test: expose provider media test helpers 2026-04-28 02:52:30 +01:00
Peter Steinberger f34b41f198 refactor: split plugin sdk test helpers 2026-04-28 01:14:19 +01:00
Peter Steinberger 8057561cee refactor: promote plugin test helpers to sdk 2026-04-28 00:55:11 +01:00
Peter Steinberger 0df6e5a473 refactor: expose plugin test helpers via sdk 2026-04-27 23:45:26 +01:00
Peter Steinberger 74e62c32c3 test: route extension tests through sdk subpaths 2026-04-27 21:58:48 +01:00
Peter Steinberger e2fd3dcee9 fix(google): emit opus voice-note tts 2026-04-25 21:33:33 +01:00
Tars d5b6667823 fix(minimax): enable portal music and video generation 2026-04-25 21:30:10 +01:00
mushuiyu_xydt 0e1ef93e84 fix(minimax): use dedicated image generation endpoint (#61155)
* fix(minimax): use dedicated image generation endpoint

MiniMax image generation uses a dedicated API endpoint
(api.minimax.io/v1/image_generation) that is separate from the
text/chat API endpoint (api.minimax.io/anthropic).

Previously, the resolveMinimaxImageBaseUrl function would extract
the origin from the provider's configured baseUrl. If a user had
configured their baseUrl to the chat endpoint (e.g.,
api.minimax.chat/anthropic), the image generation would incorrectly
use that endpoint, resulting in "invalid api key" errors.

This fix always uses the dedicated image generation endpoint,
ignoring the provider's baseUrl configuration for image generation.

Fixes #61149

* fix(minimax): support CN endpoint for image generation

Respect MINIMAX_API_HOST environment variable to determine whether
to use the global (api.minimax.io) or CN (api.minimaxi.com) endpoint
for image generation.

This ensures that CN users who configure MINIMAX_API_HOST to use
api.minimaxi.com will continue to use the CN endpoint for image
generation, while global users continue to use api.minimax.io.

The original bug was caused by the code extracting the origin from
the provider's configured baseUrl, which could be set to incorrect
endpoints like api.minimax.chat. This fix uses the dedicated image
generation endpoints instead.

Fixes #61149

* fix(minimax): infer CN endpoint from provider config when env is unset

When MINIMAX_API_HOST is not set, fall back to checking the provider's
configured baseUrl to determine whether to use the CN or global image
endpoint. This ensures CN users who went through onboarding (which sets
models.providers.minimax.baseUrl to https://api.minimaxi.com/anthropic)
are correctly routed to the CN image endpoint.

The isMinimaxCnHost check ensures we only use the baseUrl origin for
CN detection - invalid endpoints like api.minimax.chat would not match
minimaxi.com and would correctly fall through to the global default.

Fixes #61149

* test(minimax): cover dedicated image endpoints

* fix(logging): handle context assembly diagnostics

* Revert "fix(logging): handle context assembly diagnostics"

This reverts commit f51d2f7d67f8193268dd37553ac77e80a0423390.

* test(minimax): isolate image endpoint env

* docs(changelog): credit minimax image fix

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-04-25 20:07:52 +01:00
Peter Steinberger e6713c0a61 test(minimax): cover default music model normalization 2026-04-25 10:55:54 +01:00
Peter Steinberger ed8384d32d fix(minimax): default music generation to music 2.6 2026-04-25 10:55:54 +01:00
Peter Steinberger a7604f8170 fix(minimax): support token plan tts auth 2026-04-25 10:36:12 +01:00
Peter Steinberger 7fcefd56b7 chore: bump version to 2026.4.25 2026-04-25 10:31:52 +01:00
Peter Steinberger ec8dbc4595 feat(tts): add xiaomi mimo speech provider 2026-04-25 09:48:05 +01:00
Peter Steinberger 978a50a3c5 fix(minimax): normalize tts pitch for api 2026-04-25 04:58:20 +01:00
Peter Steinberger 225ff9a866 fix(minimax): transcode voice-note tts to opus 2026-04-25 04:52:25 +01:00
Peter Steinberger c81b3ab6b9 fix(minimax): mark tts output voice-compatible 2026-04-25 04:25:12 +01:00
Peter Steinberger 554f93a999 fix(providers): keep minimax chat models text-only 2026-04-25 01:27:34 +01:00
Peter Steinberger 7425cb0549 fix: guard speech provider fetches 2026-04-24 20:51:18 +01:00
Peter Steinberger def392ad7d test: add provider HTTP live coverage 2026-04-24 20:44:56 +01:00
Peter Steinberger 2c516fe516 refactor: share provider HTTP error parsing 2026-04-24 20:44:56 +01:00
Peter Steinberger 7189b49f81 refactor: move media defaults into plugin manifests 2026-04-22 06:11:49 +01:00
Gustavo Madeira Santana 24db09a19b fix(cli): keep channel status checks off plugin runtimes (#69479)
Merged via squash.

Prepared head SHA: 63f6e416a9
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-04-21 13:53:08 -04:00
Peter Steinberger d7ff1ceb29 test: share minimax image fixtures 2026-04-20 21:33:44 +01:00
Peter Steinberger 0f1ce47033 test(extensions): move provider contracts to owners 2026-04-20 20:55:39 +01:00
Pavan Kumar Gondhi 2f06696579 fix(security): block MINIMAX_API_HOST workspace env injection and remove env-driven URL routing [AI-assisted] (#67300)
* fix: address issue

* fix: address review feedback

* fix: finalize issue changes

* fix: address PR review feedback

* address review feedback

* docs: add changelog entry for PR merge
2026-04-20 22:51:03 +05:30
Peter Steinberger 8116e638f3 chore: release 2026.4.20 2026-04-20 13:16:40 +01:00
Peter Steinberger ac8f0c9c0d chore: prepare 2026.4.19-beta.1 release 2026-04-19 02:09:43 +01:00
Peter Steinberger 85912849cc refactor: move extension markers into manifests 2026-04-18 20:16:44 +01:00
Peter Steinberger a7e029fde9 refactor: cache provider tool runtimes 2026-04-18 19:05:00 +01:00
Peter Steinberger 3f2e73b723 chore(release): bump version to 2026.4.18 2026-04-18 15:46:33 +01:00
Peter Steinberger 4143da0ffa test: use provider contract artifacts 2026-04-18 01:36:15 +01:00
Gustavo Madeira Santana 41ee813a45 test: lazy-load minimax web search runtime
Keep the Minimax web-search provider artifact metadata-only and move
execution, cache, endpoint, and test helpers behind a lazy runtime import.
This keeps contract metadata tests from importing the full runtime path.
2026-04-17 18:08:23 -04:00
Peter Steinberger 0dc4c4076c chore: bump version to 2026.4.16 2026-04-17 00:45:04 +01:00
Peter Steinberger b3fa5880dd build(extensions): bump bundled plugin versions to 2026.4.15-beta.1 2026-04-15 15:06:13 +01:00
Vincent Koc eea7ba5345 fix(plugin-sdk): share canonical stream hook families 2026-04-14 17:13:31 +01:00
Vincent Koc 30dcebae80 fix(minimax): share region auth builders 2026-04-14 16:50:20 +01:00
Vincent Koc 25efa8cf81 fix(minimax): share provider hook bundle 2026-04-14 16:41:46 +01:00
Peter Steinberger a88c6f0fe7 fix: bound live video generation smoke 2026-04-14 14:59:01 +01:00
Peter Steinberger a8e140e395 chore: bump version to 2026.4.12 2026-04-12 10:37:18 -07:00
Vincent Koc 17bdc76d90 test(providers): share onboard primary assertions 2026-04-12 04:20:55 +01:00
RyanLee 415578c4dc fix(minimax): add missing api and authHeader to portal OAuth configPatch (#64964)
Merged via squash.

Prepared head SHA: 39bc34f9f9
Co-authored-by: ryanlee666 <33855278+ryanlee666@users.noreply.github.com>
Co-authored-by: odysseus0 <8635094+odysseus0@users.noreply.github.com>
Reviewed-by: @odysseus0
2026-04-11 11:50:43 -07:00
Peter Steinberger c7f18d9278 test: dedupe media provider tests 2026-04-11 13:55:07 +01:00
Peter Steinberger 1ab6e5dbf0 chore(release): bump version to 2026.4.11 2026-04-11 04:51:17 +01:00
Peter Steinberger 69244f837f test: speed provider retry imports 2026-04-11 02:37:51 +01:00
Peter Steinberger 3e80bd33e4 refactor: simplify extension conversions 2026-04-11 01:37:23 +01:00
Peter Steinberger 8c0a5ac53b test: isolate provider media fetches 2026-04-10 23:50:11 +01:00
Peter Steinberger 719f06510c chore: bump version to 2026.4.10 2026-04-09 03:56:22 +01:00
Peter Steinberger e8d5837eea fix: keep minimax provider mocks package-local 2026-04-08 16:13:37 +01:00
Peter Steinberger 34f73abfd3 refactor: dedupe plugin metadata test helpers 2026-04-08 15:58:46 +01:00