mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
The "Import from /models" button was using the wrong Z.AI API surface (Anthropic-compatible /api/anthropic/v1/models with x-api-key auth). Switched to the correct Coding API endpoints with Authorization: Bearer auth, matching the pattern used by the quota/usage tracking code. - International: https://api.z.ai/api/coding/paas/v4/models - China: https://open.bigmodel.cn/api/coding/paas/v4/models - Auth: Authorization: Bearer <token> (not x-api-key) - Region sourced from providerSpecificData.apiRegion Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>