For LM Studio, Ollama, and custom OpenAI-compatible endpoints, automatically append /v1 to the URL if missing. This prevents the common "Unexpected endpoint or method" error when users enter URLs like "http://127.0.0.1:1234" instead of the required "http://127.0.0.1:1234/v1". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>