mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +08:00
- Introduced `createImageClient` method in `ApiClientFactory` to support image generation for various providers. - Updated `UniversalAiSdkClient` to include `generateImage` method, allowing image generation through the unified client interface. - Refactored client creation functions to utilize the new `ProviderOptions` type for improved type safety. - Enhanced the provider registry to indicate which providers support image generation, streamlining client creation and usage. - Updated type definitions in `types.ts` to reflect changes in client options and middleware support. |
||
|---|---|---|
| .. | ||
| aiCore | ||
| shared | ||