We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ed5ec commit d6b2b6dCopy full SHA for d6b2b6d
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