We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e8edb commit ce2d862Copy full SHA for ce2d862
src/codegate/providers/lm_studio/provider.py
@@ -51,8 +51,6 @@ async def create_completion(
51
body = await request.body()
52
data = json.loads(body)
53
54
- # if model starts with lm_studio, propagate it
55
- if data.get("model", "").startswith("lm_studio"):
56
- data["base_url"] = self.lm_studio_url + "/v1/"
+ data["base_url"] = self.lm_studio_url + "/v1/"
57
58
return await self.process_request(data, api_key, request)
0 commit comments