mirror of
https://github.com/elder-plinius/G0DM0D3.git
synced 2026-11-16 07:02:25 +00:00
Venice returns {"error": "string"} while OpenRouter returns
{"error": {"message": "..."}}. All three error parse sites
(index.html queryModel, backend queryModel, frontend Venice helper)
now handle both shapes.
Error classifier now catches Venice-specific auth strings:
- "Authentication failed" (Venice bad key)
- "User not found." (OpenRouter bad key)
Diagnostic messages updated to reference both providers.
Verified 7/7 against real API error strings from smoke tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>