[chore] Reformat new code

This commit is contained in:
Cohee
2025-02-22 12:47:19 +02:00
parent 13f76c974e
commit 5c79c8e162
2 changed files with 8 additions and 8 deletions

View File

@ -76,10 +76,10 @@ export function extractReasoningFromData(data) {
return data?.choices?.[0]?.message?.reasoning ?? '';
case chat_completion_sources.MAKERSUITE:
return data?.responseContent?.parts?.filter(part => part.thought)?.map(part => part.text)?.join('\n\n') ?? '';
case chat_completion_sources.CUSTOM:{
case chat_completion_sources.CUSTOM: {
return data?.choices?.[0]?.message?.reasoning_content
?? data?.choices?.[0]?.message?.reasoning
?? '';
?? data?.choices?.[0]?.message?.reasoning
?? '';
}
}
break;