使用glm-4模型时,运行至const followUpQuestions = await generateFeedback({query: initialQuery, }); 时报错:NoObjectGeneratedError [AI_NoObjectGeneratedError]: 没有生成对象:无法解析响应。

作者: zhouchengzhi1994创建于 2025年7月7日更新于 2025年7月7日

使用模型: glm-4 您想要研究什么? 科比 请输入研究范围(建议 2-10,默认 4): 1 请输入研究深度(建议 1-5,默认 2): 1 您是否希望生成长篇报告还是特定答案?(report/answer,默认 report): report 正在创建研究计划... NoObjectGeneratedError [AI_NoObjectGeneratedError]: 没有生成对象: 无法解析响应。 at processResult(E:\TsProjects\deep-research-main\node_modules\ai\core\generate-object\generate-object.ts:751:17) at fn(E:\TsProjects\deep-research-main\node_modules\ai\core\generate-object\generate-object.ts:786:18) ... 3 行匹配原因堆栈跟踪 ... at async run(E:\TsProjects\deep-research-main\src\run.ts:61:31) { cause: JSONParseError [AI_JSONParseError]: JSON 解析失败: 文本: 为了为您关于"科比"的查询提供一个集中且详细的响应,我需要澄清您所需的研究的背景和深度。以下是三个问题,可帮助指导我的研究: 1. 您是否对科比·布莱恩特的篮球生涯,他对体育运动的影响,还是他退役后的遗产感兴趣? 2. 您是否希望我深入研究特定方面,例如他的打球风格,他的成就,或他对篮球文化的影响,无论是在国内还是国际上? 3. 您是否正在寻找科比·布莱恩特生活中的某一特定事件或时期的信息,或者这是一个涵盖他整个职业生涯和退役后生活的广泛请求?。 错误消息: 无法识别的标记"T","To provide"… 不是有效的 JSON at safeParseJSON(E:\TsProjects\deep-research-main\node_modules\ai\node_modules\@ai-sdk\provider-utils\src\parse-json.ts:110:11) at processResult(E:\TsProjects\deep-research-main\node_modules\ai\core\generate-object\generate-object.ts:748:29) at fn(E:\TsProjects\deep-research-main\node_modules\ai\core\generate-object\generate-object.ts:786:18) at process.processTicksAndRejections(node:internal/process/task_queues:105:5) at async <anonymous>(E:\TsProjects\deep-research-main\node_modules\ai\core\telemetry\record-span.ts:18:22) at async generateFeedback(E:\TsProjects\deep-research-main\src\feedback.ts:14:24) at async run(E:\TsProjects\deep-research-main\src\run.ts:61:31) { cause: [SyntaxError: Unexpected token 'T', "To provide"… is not valid JSON], text: 'To provide a focused and detailed response to your query about "科比," I need to clarify the context and the depth of the research you require. Here are three questions to help guide my research:\n\n1. Are you interested in Kobe Bryant's basketball career, his impact on the sport, or his legacy post-retirement?\n\n2. Would you like me to delve into specific aspects such as his playing style, his achievements, or his influence on basketball culture, both domestically and internationally?\n\n3. Are you seeking information on any particular event or period in Kobe Bryant's life, or is this a broad request encompassing his entire career and life after basketball?

内容来源: dzhng/deep-research