mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Unify reasoning request effect on parsing
This commit is contained in:
@ -54,8 +54,6 @@ export function extractReasoningFromData(data) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'openai':
|
case 'openai':
|
||||||
if (!oai_settings.show_thoughts) break;
|
|
||||||
|
|
||||||
switch (oai_settings.chat_completion_source) {
|
switch (oai_settings.chat_completion_source) {
|
||||||
case chat_completion_sources.DEEPSEEK:
|
case chat_completion_sources.DEEPSEEK:
|
||||||
return data?.choices?.[0]?.message?.reasoning_content ?? '';
|
return data?.choices?.[0]?.message?.reasoning_content ?? '';
|
||||||
|
Reference in New Issue
Block a user