mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 13:22:11 +03:00
Add stripModelPrefix boolean setting that, when enabled, strips provider prefixes (e.g. openai/, anthropic/) from incoming model names and re-resolves the bare model name using existing heuristics. This allows tools to send prefixed model names while OmniRoute handles provider routing at the proxy layer. - Add stripModelPrefix to settings validation schema (Zod) - Check setting in getModelInfo() after custom node matching fails - Falls through to normal resolution on error or when disabled - Backward compatible: opt-in, default behavior unchanged