fix: post processors

This commit is contained in:
ikechan8370 2025-02-19 13:21:01 +08:00
parent 5add41c982
commit 2ab56e15a7

View file

@ -19,12 +19,10 @@ export class ReasonerProcessor extends AbstractPostProcessor {
* }>} * }>}
*/ */
async processInner (input) { async processInner (input) {
// eslint-disable-next-line camelcase const { text, thinkingText } = extractThinkingTextAndText(input.text)
const { text, thinking_text } = extractThinkingTextAndText(input.text)
return { return {
text, text,
// eslint-disable-next-line camelcase thinking_text: input.thinking_text + thinkingText
thinking_text: input.thinking_text + thinking_text
} }
} }
} }