Skip to content

Commit 832a274

Browse files
authored
Update generation.ts
1 parent 81d0273 commit 832a274

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/generation.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,10 @@ export const generateWebSearch = async (
12141214
api_key: apiKey,
12151215
query,
12161216
include_answer: true,
1217+
max_results: 3, // 5 (default)
1218+
topic: "general", // "general"(default) "news"
1219+
search_depth: "basic", // "basic"(default) "advanced"
1220+
include_images: false, // false (default) true
12171221
}),
12181222
});
12191223

0 commit comments

Comments
 (0)