mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
rename /chat_template to /props, and switch to non-trimmed hashes
This commit is contained in:
@@ -1240,7 +1240,7 @@ async function getStatusTextgen() {
|
||||
const wantsContextDerivation = power_user.context_derived;
|
||||
const supportsChatTemplate = response.headers.get('x-supports-chat-template') === 'true';
|
||||
if (supportsChatTemplate && (wantsInstructDerivation || wantsContextDerivation)) {
|
||||
const response = await fetch('/api/backends/text-completions/chat_template', {
|
||||
const response = await fetch('/api/backends/text-completions/props', {
|
||||
method: 'POST',
|
||||
headers: getRequestHeaders(),
|
||||
body: JSON.stringify({
|
||||
|
Reference in New Issue
Block a user