kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
30e0d21e31
commit
28f9b4baa3
|
@ -82,6 +82,8 @@ export class SerpAPITool extends BaseTask<SerpAPIInput, SerpAPIOutput> {
|
|||
num: ctx.input!.numResults
|
||||
})
|
||||
|
||||
this._logger.debug(res, `SerpAPI response for query "${ctx.input!.query}"`)
|
||||
|
||||
return this.outputSchema.parse({
|
||||
knowledgeGraph: res.knowledge_graph,
|
||||
answerBox: res.answer_box,
|
||||
|
|
Ładowanie…
Reference in New Issue