We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f08736 commit 69d0f11Copy full SHA for 69d0f11
server/utils/agents/aibitat/plugins/web-browsing.js
@@ -186,9 +186,9 @@ const webBrowsing = {
186
187
const data = [];
188
if (response.hasOwnProperty("knowledge_graph"))
189
- data.push(response.knowledge_graph);
+ data.push(response.knowledge_graph?.description);
190
if (response.hasOwnProperty("answer_box"))
191
- data.push(response.answer_box.answer);
+ data.push(response.answer_box?.answer);
192
response.organic_results?.forEach((searchResult) => {
193
const { title, link, snippet } = searchResult;
194
data.push({
0 commit comments