Skip to content

Commit

Permalink
Update generation.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomguluson92 authored Dec 19, 2024
1 parent 81d0273 commit 832a274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/generation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,10 @@ export const generateWebSearch = async (
api_key: apiKey,
query,
include_answer: true,
max_results: 3, // 5 (default)
topic: "general", // "general"(default) "news"
search_depth: "basic", // "basic"(default) "advanced"
include_images: false, // false (default) true
}),
});

Expand Down

0 comments on commit 832a274

Please sign in to comment.