x
This commit is contained in:
@@ -25,6 +25,8 @@ class InferenceEngine:
|
||||
}
|
||||
if req.stop:
|
||||
payload["stop"] = req.stop
|
||||
if req.enable_thinking is not None:
|
||||
payload["chat_template_kwargs"] = {"enable_thinking": req.enable_thinking}
|
||||
response = self.client.post(
|
||||
f"{self.settings.vllm_openai_internal_url}/chat/completions",
|
||||
headers=headers,
|
||||
|
||||
Reference in New Issue
Block a user