mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
* feat: enhance search functionality with optional HTTP options - Updated the search method signatures in BaseWebSearchProvider, WebSearchEngineProvider, LocalSearchProvider, and WebSearchService to accept optional HTTP options. - Modified fetchWebContent and fetchWebContents to utilize the new HTTP options parameter for improved request handling. - Enhanced error handling in messageThunk to manage abort errors more effectively. * feat: implement abortable promises for web search and fetch operations - Added createAbortPromise utility to handle abort signals for promises. - Updated LocalSearchProvider and fetchWebContent to utilize abortable promises, allowing for better control over ongoing requests. - Enhanced error handling in ApiService to log errors consistently. |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||