0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
Rhys Balevicius
118c3afd3f Merge branch 'fix/gateway-v2-client' into fix/mastracode-gateway-v2-keys 2026-11-17 05:17:09 +00:00
Rhys Balevicius
0a8c60e9fc chore(core): merge main and format gateway tests 2026-11-17 05:14:12 +00:00
Rhys Balevicius
f9007f4052 fix(mastracode): correct gateway v2 authentication and error hints
Route models and web search through gateway authentication for organization keys to avoid invalid API key errors when signed in with OAuth. Preserve provider OAuth forwarding for project keys.

Show gateway billing and routing hints for gateway refusals. Remove outdated restart guidance from gateway configuration messages.
2026-11-17 03:58:48 +00:00
Rhys Balevicius
75ed0cbce9 fix(core): correct gateway catalogs, version routing and stream usage
Authenticate and cache v2 model catalogs with bounded fallback and retry delays to reduce waits during outages. Keep organization catalogs out of the shared provider cache so they stay isolated across projects.

Honor v1 project keys and registered gateway settings so Studio and model calls agree on the gateway version. Request streaming token usage so final usage chunks are reported.
2026-11-17 03:57:57 +00:00
21 changed files with 1433 additions and 100 deletions