mirror of
https://github.com/langgenius/dify.git
synced 2026-02-19 01:14:44 +08:00
- Replace axios with Node.js native fetch API for HTTP requests - Update HttpClient to use fetch instead of axios instance - Convert axios-specific error handling to fetch-based error mapping - Update response type handling for streams, JSON, text, etc. - Remove axios from package.json dependencies - Update all test files to mock fetch instead of axios This change reduces external dependencies and uses the built-in fetch API available in Node.js 18+, which is already the minimum required version for this SDK. |
||
|---|---|---|
| .. | ||
| test-utils.js | ||