LibreChat/api
glowforge-opensource e3e796293c
🔍 feat: Additional Tavily API Tool Parameters (#7232)
* 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>
2025-05-06 22:50:11 -04:00
..
app 🔍 feat: Additional Tavily API Tool Parameters (#7232) 2025-05-06 22:50:11 -04:00
cache 🐙 fix: Add Redis Ping Interval to Prevent Connection Drops (#7127) 2025-04-29 10:02:38 -04:00
config 🔧 fix: Keyv and Proxy Issues, and More Memory Optimizations (#6867) 2025-04-13 23:01:55 -04:00
lib 🔍 refactor: Search & Message Retrieval (#6903) 2025-04-16 21:07:43 -04:00
models 🔧 fix: Google Gemma Support & OpenAI Reasoning Instructions (#7196) 2025-05-02 15:11:50 -04:00
server 🔄 fix: o-Series Model Regex for System Messages (#7245) 2025-05-06 08:40:00 -04:00
strategies 🚀 feat: Add support for LDAP STARTTLS in LDAP Auth (#6438) 2025-03-21 07:55:09 -04:00
test 🔧 fix: Keyv and Proxy Issues, and More Memory Optimizations (#6867) 2025-04-13 23:01:55 -04:00
utils feat: Enhance form submission for touch screens (#7198) 2025-05-05 09:23:38 -04:00
jest.config.js 🔧 fix: Keyv and Proxy Issues, and More Memory Optimizations (#6867) 2025-04-13 23:01:55 -04:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json 🔧 fix: Google Gemma Support & OpenAI Reasoning Instructions (#7196) 2025-05-02 15:11:50 -04:00
typedefs.js 🎨 feat: OpenAI Image Tools (GPT-Image-1) (#7079) 2025-04-26 04:30:58 -04:00