forked from Significant-Gravitas/AutoGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass TestSearch benchmark consistently (Add browse_website TOKENS_TO_…
…TRIGGER_SUMMARY) (Significant-Gravitas#5092) * Added SUMMARIZATION_TRIGGER_LENGTH browse_website won't summarize content that's shorter than SUMMARIZATION_TRIGGER_LENGTH. It defaults to 250 characters, which is approximately 50 tokens. * Refactor BrowserOptions * Use tokens instead of length to trigger summarization * Bugfix * fix: Always return links even if not summarizing feat: Increase the number of links returned from 5 to 20 --------- Co-authored-by: lc0rp <[email protected]> Co-authored-by: James Collins <[email protected]>
- Loading branch information
1 parent
a593c32
commit 3a2d08f
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters