LibreChat/api/app/clients/tools/structured
Danny Avila 1477da4987
🖥️ feat: Add Proxy Support for Tavily API Tool (#10770)
* 🖥️ feat: Add Proxy Support for Tavily API Tool

- Integrated ProxyAgent from undici to enable proxy support for API requests in TavilySearch and TavilySearchResults.
- Updated fetch options to conditionally include the proxy configuration based on the environment variable, enhancing flexibility for network requests.

* ci: TavilySearchResults with Proxy Support Tests

- Added tests to verify the integration of ProxyAgent for API requests in TavilySearchResults.
- Implemented conditional logic to check for the PROXY environment variable, ensuring correct usage of ProxyAgent based on its presence.
- Updated test setup to clear mocks before each test for improved isolation and reliability.
2025-12-02 09:11:56 -05:00
..
specs 🖥️ feat: Add Proxy Support for Tavily API Tool (#10770) 2025-12-02 09:11:56 -05:00
AzureAISearch.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
credentials.js 🎥 feat: YouTube Tool (#5582) 2025-01-31 19:11:04 -05:00
DALLE3.js 🧱 fix: DALL-E Proxy Bypass (#9971) 2025-10-05 06:56:21 -04:00
FluxAPI.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
GoogleSearch.js 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
OpenAIImageTools.js 🔄 refactor: OAI Image Edit Proxy, Speech Settings Handling, Import Query Data Usage (#10281) 2025-10-28 09:36:03 -04:00
OpenWeather.js 🌤️ feat: Add OpenWeather Tool for Weather Data Retrieval (#5246) 2025-01-10 08:54:08 -05:00
StableDiffusion.js 🧭 fix: Add Base Path Support for Login/Register and Image Paths (#10116) 2025-11-21 11:25:14 -05:00
TavilySearch.js 🖥️ feat: Add Proxy Support for Tavily API Tool (#10770) 2025-12-02 09:11:56 -05:00
TavilySearchResults.js 🖥️ feat: Add Proxy Support for Tavily API Tool (#10770) 2025-12-02 09:11:56 -05:00
TraversaalSearch.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
Wolfram.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
YouTube.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00