mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
* feat: expose additional Tavily API parameters for tool The following parameters are part of Tavily API but were previously not exposed for agents to use via the tool. Now they are. The source documentation is here: https://docs.tavily.com/documentation/api-reference/endpoint/search include_raw_content - returns the full text of found web pages (default is false) include_domains - limit search to this list of domains (default is none) exclude_domains - exclude this list of domains form search (default is none) topic - enum of "general", "news", or "finance" (default is "general") time_range - enum of "day", "week", "month", or "year" (default unlimited) days - number of days to search (default is 7, but only applicable to topic == "news") include_image_descriptions - include a description of the image in the search results (default is false) It is a little odd that they have both time_range and days, but there it is. I have noticed that this change requires a little bit of care in prompting to make sure that it doesn't use "news" when you wanted "general". I've attemtped to hint that in the tool description. * correct lint error * more lint --------- Co-authored-by: Michael Natkin <michaeln@glowforge.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cache | ||
| config | ||
| lib | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| typedefs.js | ||