feat(researcher): rename 0_reasoning to __reasoning_preamble to comply with provider guidelines

This commit is contained in:
ItzCrazyKns
2025-12-24 13:54:49 +05:30
parent 53697bb42e
commit dc74e7174f
5 changed files with 20 additions and 20 deletions

View File

@@ -87,7 +87,7 @@ class Researcher {
if (partialRes.toolCallChunk.length > 0) {
partialRes.toolCallChunk.forEach((tc) => {
if (
tc.name === '0_reasoning' &&
tc.name === '__reasoning_preamble' &&
tc.arguments['plan'] &&
!reasoningEmitted &&
block &&
@@ -109,7 +109,7 @@ class Researcher {
},
]);
} else if (
tc.name === '0_reasoning' &&
tc.name === '__reasoning_preamble' &&
tc.arguments['plan'] &&
reasoningEmitted &&
block &&