mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove custom header
This commit is contained in:
@@ -219,9 +219,6 @@ router.post('/status', jsonParser, async function (request, response) {
|
||||
} catch (error) {
|
||||
console.error(`Failed to get TabbyAPI model info: ${error}`);
|
||||
}
|
||||
} else if (apiType == TEXTGEN_TYPES.KOBOLDCPP || apiType == TEXTGEN_TYPES.LLAMACPP) {
|
||||
// the /props endpoint includes chat template
|
||||
response.setHeader('x-supports-chat-template', 'true');
|
||||
}
|
||||
|
||||
return response.send({ result, data: data.data });
|
||||
|
Reference in New Issue
Block a user