mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 21:32:10 +03:00
Add built-in provider registry entry for Agnes AI (agnes-ai.com), a permanently free OpenAI-compatible API by Sapiens AI. Models: - agnes-2.0-flash: 256K context, 64K output, thinking mode (reasoning_content), vision, tool calling - agnes-1.5-flash: 256K context, 64K output, vision The baseUrl uses the full /v1/chat/completions path. This is the standard pattern for registry entries (115 built-in providers use the same convention). The default executor's buildUrl() routes registry entries through normalizeOpenAIChatUrl(), which detects the existing /chat/completions suffix and returns the URL as-is without appending. Only openai-compatible-* connections (dashboard- added custom providers) unconditionally append the path. Specs verified against MODEL_CATALOG.md v2026.06.28 (github.com/AgnesAI-Labs/AgnesAI-Models) and live API testing at apihub.agnes-ai.com/v1 (2026-07-13). Fixes #5580 Signed-off-by: Minxi Hou <houminxi@gmail.com>