refac
This commit is contained in:
1 parent
50bc6d9b12
commit
363ac35c09
7 files changed
+39
-36
No files matched your search
@@ -790,8 +790,8 @@ async def process_chat_payload(request, form_data, user, metadata, model):
|
||||
),
|
||||
form_data["messages"],
|
||||
)
|
||||
if "thinking" in features:
|
||||
form_data["enable_thinking"] = features["thinking"]
|
||||
if "reasoning" in features:
|
||||
form_data["enable_thinking"] = features["reasoning"]
|
||||
form_data["chat_template_kwargs"] = {
|
||||
"enable_thinking": features["thinking"]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user