mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-07 07:03:00 +08:00
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @cherrystudio/ai-core@2.0.1
### Patch Changes
- [#14087](https://github.com/CherryHQ/cherry-studio/pull/14087)
[`1f72f98`](1f72f98905)
Thanks [@DeJeune](https://github.com/DeJeune)! - fix(providers):
azure-anthropic variant uses correct Anthropic toolFactories for web
search
- Add `TOutput` generic to `ProviderVariant` so `transform` output type
flows to `toolFactories` and `resolveModel`
- Add Anthropic-specific `toolFactories` to `azure-anthropic` variant
(fixes `provider.tools.webSearchPreview is not a function`)
- Fix `urlContext` factory incorrectly mapping to `webSearch` tool key
instead of `urlContext`
- Fix `BedrockExtension` `satisfies` type to use `AmazonBedrockProvider`
instead of `ProviderV3`
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2.6 KiB
2.6 KiB
@cherrystudio/ai-core
2.0.1
Patch Changes
-
#14087
1f72f98Thanks @DeJeune! - fix(providers): azure-anthropic variant uses correct Anthropic toolFactories for web search- Add
TOutputgeneric toProviderVariantsotransformoutput type flows totoolFactoriesandresolveModel - Add Anthropic-specific
toolFactoriestoazure-anthropicvariant (fixesprovider.tools.webSearchPreview is not a function) - Fix
urlContextfactory incorrectly mapping towebSearchtool key instead ofurlContext - Fix
BedrockExtensionsatisfiestype to useAmazonBedrockProviderinstead ofProviderV3
- Add
2.0.0
Major Changes
-
#12235
1c0a5a9Thanks @DeJeune! - Migrate to AI SDK v6 - complete rewrite of provider and middleware architecture- BREAKING: Remove all legacy API clients, middleware pipeline, and barrel
index.ts - Image generation: Migrate to native AI SDK
generateImage/editImage, remove legacy image middleware - Embedding: Migrate to AI SDK
embedMany, remove legacy embedding clients - Model listing: Refactor
ModelListServiceto Strategy Registry pattern, consolidate schema files - OpenRouter image: Native image endpoint support via
@openrouter/ai-sdk-provider2.3.3 - GitHub Copilot: Simplify extension by removing
ProviderV2cast andwrapProvider - Rename:
index_new.ts→AiProvider.ts,ModelListService.ts→listModels.ts
- BREAKING: Remove all legacy API clients, middleware pipeline, and barrel
Patch Changes
-
#13787
6b4c928Thanks @EurFelux! - Add missing @openrouter/ai-sdk-provider dependency to fix package build -
#12783
336176bThanks @EurFelux! - Baseline release for previously unmanaged package changes while introducing changesets-based publishing -
Updated dependencies [
336176b]:- @cherrystudio/ai-sdk-provider@0.1.6