From 753a99faf93ed4a6c0f36db4f2bf63d471ab5f0e Mon Sep 17 00:00:00 2001 From: pcpthm Date: Fri, 31 Jan 2025 21:41:42 +0900 Subject: [PATCH 1/4] Support reasoning for OpenRouter text completion --- public/index.html | 4 +++ public/script.js | 29 +++++++++++++++------- public/scripts/openai.js | 6 ++--- public/scripts/textgen-settings.js | 7 +++++- src/constants.js | 1 + src/endpoints/backends/chat-completions.js | 2 +- 6 files changed, 35 insertions(+), 14 deletions(-) diff --git a/public/index.html b/public/index.html index cd9abb3e8..ee15ea62e 100644 --- a/public/index.html +++ b/public/index.html @@ -1587,6 +1587,10 @@ Skip Special Tokens +