cherry-studio/.yarn/patches
SuYao 24ddd69cd5
refactor(Gemini): migrate generative-ai sdk to genai sdk (#4939)
* refactor(GeminiService): migrate to new Google GenAI SDK and update file handling methods

- Updated import statements to use the new Google GenAI SDK.
- Refactored file upload, retrieval, and deletion methods to align with the new SDK's API.
- Adjusted type definitions and response handling for improved type safety and clarity.
- Enhanced file listing and processing logic to utilize async iteration for better performance.

* refactor(GeminiProvider): update message handling and integrate abort signal support

- Refactored message content handling to align with updated type definitions, ensuring consistent use of Content type.
- Enhanced abort signal management for chat requests, allowing for better control over ongoing operations.
- Improved message processing logic to streamline user message history handling and response generation.
- Adjusted type definitions for message contents to enhance type safety and clarity.

* refactor(electron.vite.config): replace direct import of Vite React plugin with dynamic import

* fix(Gemini): clean up unused methods and improve property access

* fix(typecheck): update color properties to use CSS variables

* feat: 修改画图逻辑

* fix: import viteReact

---------

Co-authored-by: eeee0717 <chentao020717Work@outlook.com>
2025-04-16 23:13:22 +08:00
..
@google-genai-npm-0.8.0-450d0d9a7d.patch refactor(Gemini): migrate generative-ai sdk to genai sdk (#4939) 2025-04-16 23:13:22 +08:00
@langchain-openai-npm-0.3.16-e525b59526.patch feat: add baidu cloud provider 2025-02-07 16:47:29 +08:00
@tavily-core-npm-0.3.1-fe69bf2bea.patch chore: Update Tavily core package and remove js-tiktoken dependency 2025-02-23 11:01:30 +08:00
epub-npm-1.3.0-8325494ffe.patch patch epub: replace zipfile with zipread 2025-03-13 18:01:39 +08:00
libsql-npm-0.4.7-444e260fb1.patch build: Add support for Windows ARM64 platform (#3431) 2025-04-06 09:35:08 +08:00
openai-npm-4.87.3-2b30a7685f.patch feat(UI, OpenAI): support OpenAI-4o-web-search add support for web search citations (#3524) 2025-04-06 09:11:59 +08:00
pdf-parse-npm-1.1.1-04a6109b2a.patch feat: knowledge base 2024-12-19 09:24:20 +08:00
pkce-challenge-npm-4.1.0-fbc51695a3.patch refactor: mcp service 2025-03-28 04:24:10 +08:00