mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
- fix #355: increase STREAM_IDLE_TIMEOUT_MS from 60s to 300s to prevent premature stream abortion for extended-thinking models (claude-opus-4-6, o3, etc.) that can pause >60s during reasoning phases. Configurable via STREAM_IDLE_TIMEOUT_MS env var. - fix #350: combo health check test now bypasses REQUIRE_API_KEY=true by sending X-Internal-Test header, recognized in chat.ts auth pipeline to skip API key validation for internal admin-side combo tests. Also extended test timeout from 15s to 20s. Uses OpenAI-compatible format universally (not Claude-style). - fix #346: filter out tools with empty function.name before forwarding to upstream providers. Claude Code sends empty-name tool definitions that cause '400 Invalid input[N].name: empty string' on OpenAI-compat providers. Extends existing message/input empty-name filter.