Map Hermes reasoning controls into Qwen templates

This commit is contained in:
Mikei386
2026-08-25 14:52:43 +02:00
parent 7df28d9750
commit 63fc921988
6 changed files with 149 additions and 2 deletions
+2
View File
@@ -89,6 +89,8 @@ class Handler(BaseHTTPRequestHandler):
"total_tokens": 15},
"mock_ctx": current_ctx(),
"mock_authorization": self.headers.get("Authorization"),
"mock_reasoning_effort": body.get("reasoning_effort"),
"mock_chat_template_kwargs": body.get("chat_template_kwargs"),
}
def _stream(self, body: dict) -> None: