fix(deep-research): JSON reserved words should be escaped

This commit is contained in:
AnotiaWang
2025-02-20 14:54:08 +08:00
parent 0ad5316249
commit a75539d481

View File

@ -98,7 +98,7 @@ export function generateSearchQueries({
researchGoal: z researchGoal: z
.string() .string()
.describe( .describe(
'First talk about the goal of the research that this query is meant to accomplish, then go deeper into how to advance the research once the results are found, mention additional research directions. Be as specific as possible, especially for additional research directions.', 'First talk about the goal of the research that this query is meant to accomplish, then go deeper into how to advance the research once the results are found, mention additional research directions. Be as specific as possible, especially for additional research directions. JSON reserved words should be escaped.',
), ),
}) })
.required({ query: true, researchGoal: true }), .required({ query: true, researchGoal: true }),