mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 13:48:51 +01:00
* 🖥️ 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.
|
||
|---|---|---|
| .. | ||
| document | ||
| llm | ||
| output_parsers | ||
| prompts | ||
| specs | ||
| tools | ||
| AnthropicClient.js | ||
| BaseClient.js | ||
| GoogleClient.js | ||
| index.js | ||
| OllamaClient.js | ||
| OpenAIClient.js | ||
| TextStream.js | ||