mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 12:52:11 +03:00
Addresses code review feedback from PR #2136: - Remove .ts extensions from @omniroute/open-sse imports for better module resolution - Replace all as any casts with proper types: ComboModelStep for combo step iteration, Record<string, unknown> bracket access for custom model fields, ManagedAvailableModel.contextLength type for fallback models, and Error instanceof check for catch blocks - Normalize provider alias resolution in combo context_length calculation via resolveCanonicalProviderId for consistent getTokenLimit lookups Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>