mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: post processors
This commit is contained in:
parent
5add41c982
commit
2ab56e15a7
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue