The /v1 base URL detail can save a lot of pointless debugging. Does Cline handle gateways with slightly different API routes, or is it strict about the endpoint format?
Cline + any OpenAI-compatible gateway: Base URL ends at /v1
2 Comments
@[Ted Lyngmo] Thanks Ted! In my experience it's strict, but in a predictable way: the OpenAI Compatible provider treats Base URL as a prefix and appends the standard OpenAI path (/chat/completions) to it. So a gateway that serves the OpenAI routes under a different prefix (e.g. https://host/openai/v1 or https://host/api/v1) works fine; you just put that whole prefix in Base URL. What it won't do is map to non-OpenAI route names or request shapes; for those you'd need a provider built for that API, or a small translating proxy in front. Quick sanity check before configuring: curl -s "$BASE_URL/models" -H "Authorization: Bearer $API_KEY" should return JSON. If it does, Cline is usually fine. (Disclosure again: I work on the APIGOTO team, independent of OpenAI/Anthropic/Google.)
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
More From apigoto
Related Jobs
- Database Engineer - Forward DeployedModus Create · Full time · Mexico
- Database Engineer - Forward DeployedModus Create · Full time · United Kingdom
- Senior Database Reliability EngineerPenn Interactive · Full time · Canada
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!