@aihubmix/ai-sdk-provider 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -1
- package/README.ja.md +8 -4
- package/README.md +8 -4
- package/README.zh.md +8 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
# @ai-sdk
|
|
1
|
+
# @aihubmix/ai-sdk-provider
|
|
2
|
+
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 📝 Updated documentation for AI SDK v6 compatibility
|
|
8
|
+
- Updated documentation links from v5.ai-sdk.dev to sdk.vercel.ai
|
|
9
|
+
- Added version badges and experimental API usage notes
|
|
10
|
+
- Updated all README files (EN, ZH, JA)
|
|
11
|
+
|
|
12
|
+
## 1.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- 🎉 **AI SDK v6 Compatibility** - Full support for AI SDK v6
|
|
17
|
+
- Upgraded to Language Model Specification V3
|
|
18
|
+
- Updated all provider dependencies to v3/v4 compatible versions:
|
|
19
|
+
- `@ai-sdk/anthropic`: ^3.0.0
|
|
20
|
+
- `@ai-sdk/google`: ^3.0.0
|
|
21
|
+
- `@ai-sdk/openai`: ^3.0.0
|
|
22
|
+
- `@ai-sdk/provider`: ^3.0.0
|
|
23
|
+
- `@ai-sdk/provider-utils`: ^4.0.0
|
|
24
|
+
- Updated tool factory APIs to new specification (removed `name` property)
|
|
25
|
+
- Breaking: Requires AI SDK v6 (ai ^6.0.0)
|
|
2
26
|
|
|
3
27
|
## 0.0.2
|
|
4
28
|
|
package/README.ja.md
CHANGED
|
@@ -11,9 +11,11 @@ app-codeが内蔵されており、この方法でモデルをリクエストす
|
|
|
11
11
|
|
|
12
12
|
**[Aihubmix 公式サイト](https://aihubmix.com/)** | **[モデルスクエア](https://aihubmix.com/models)**
|
|
13
13
|
|
|
14
|
-
[AI SDK](https://ai-sdk.dev/docs)用の **[Aihubmix provider](https://
|
|
14
|
+
[AI SDK](https://ai-sdk.dev/docs)用の **[Aihubmix provider](https://sdk.vercel.ai/providers/community-providers/aihubmix)**
|
|
15
15
|
一つのゲートウェイ、無限のモデル;ワンストップリクエスト:OpenAI、Claude、Gemini、DeepSeek、Qwen、そして500以上のAIモデル。
|
|
16
16
|
|
|
17
|
+
> **📦 バージョン 1.0.1** - AI SDK v6 対応
|
|
18
|
+
|
|
17
19
|
## サポートされている機能
|
|
18
20
|
|
|
19
21
|
Aihubmix providerは以下のAI機能をサポートしています:
|
|
@@ -71,17 +73,19 @@ import { createAihubmix } from '@aihubmix/ai-sdk-provider';
|
|
|
71
73
|
import {
|
|
72
74
|
generateText,
|
|
73
75
|
streamText,
|
|
74
|
-
generateImage,
|
|
76
|
+
experimental_generateImage as generateImage,
|
|
75
77
|
embed,
|
|
76
78
|
embedMany,
|
|
77
79
|
generateObject,
|
|
78
80
|
streamObject,
|
|
79
|
-
generateSpeech,
|
|
80
|
-
transcribe
|
|
81
|
+
experimental_generateSpeech as generateSpeech,
|
|
82
|
+
experimental_transcribe as transcribe
|
|
81
83
|
} from 'ai';
|
|
82
84
|
import { z } from 'zod';
|
|
83
85
|
```
|
|
84
86
|
|
|
87
|
+
> **注意**:`generateImage`、`generateSpeech`、`transcribe` などのAPIはAI SDK v6ではまだ実験的な機能です。
|
|
88
|
+
|
|
85
89
|
### テキスト生成
|
|
86
90
|
|
|
87
91
|
```ts
|
package/README.md
CHANGED
|
@@ -11,9 +11,11 @@ Built-in app-code; using this method to request all models offers a 10% discount
|
|
|
11
11
|
|
|
12
12
|
**[Aihubmix Official Website](https://aihubmix.com/)** | **[Model Square](https://aihubmix.com/models)**
|
|
13
13
|
|
|
14
|
-
The **[Aihubmix provider](https://
|
|
14
|
+
The **[Aihubmix provider](https://sdk.vercel.ai/providers/community-providers/aihubmix)** for the [AI SDK](https://ai-sdk.dev/docs)
|
|
15
15
|
One Gateway, Infinite Models;one-stop request: OpenAI, Claude, Gemini, DeepSeek, Qwen, and over 500 AI models.
|
|
16
16
|
|
|
17
|
+
> **📦 Version 1.0.1** - Compatible with AI SDK v6
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
## Supported Features
|
|
19
21
|
|
|
@@ -73,17 +75,19 @@ import { createAihubmix } from '@aihubmix/ai-sdk-provider';
|
|
|
73
75
|
import {
|
|
74
76
|
generateText,
|
|
75
77
|
streamText,
|
|
76
|
-
generateImage,
|
|
78
|
+
experimental_generateImage as generateImage,
|
|
77
79
|
embed,
|
|
78
80
|
embedMany,
|
|
79
81
|
generateObject,
|
|
80
82
|
streamObject,
|
|
81
|
-
generateSpeech,
|
|
82
|
-
transcribe
|
|
83
|
+
experimental_generateSpeech as generateSpeech,
|
|
84
|
+
experimental_transcribe as transcribe
|
|
83
85
|
} from 'ai';
|
|
84
86
|
import { z } from 'zod';
|
|
85
87
|
```
|
|
86
88
|
|
|
89
|
+
> **Note**: Some APIs like `generateImage`, `generateSpeech`, and `transcribe` are still experimental in AI SDK v6.
|
|
90
|
+
|
|
87
91
|
### Generate Text
|
|
88
92
|
|
|
89
93
|
```ts
|
package/README.zh.md
CHANGED
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
**[Aihubmix 官方网站](https://aihubmix.com/)** | **[模型广场](https://aihubmix.com/models)**
|
|
13
13
|
|
|
14
|
-
**[Aihubmix provider](https://
|
|
14
|
+
**[Aihubmix provider](https://sdk.vercel.ai/providers/community-providers/aihubmix)** 适用于 [AI SDK](https://ai-sdk.dev/docs)
|
|
15
15
|
一个网关,无限模型;一站式请求:OpenAI、Claude、Gemini、DeepSeek、Qwen 以及超过 500 个 AI 模型。
|
|
16
16
|
|
|
17
|
+
> **📦 版本 1.0.1** - 兼容 AI SDK v6
|
|
18
|
+
|
|
17
19
|
## 支持的功能
|
|
18
20
|
|
|
19
21
|
Aihubmix provider 支持以下 AI 功能:
|
|
@@ -71,17 +73,19 @@ import { createAihubmix } from '@aihubmix/ai-sdk-provider';
|
|
|
71
73
|
import {
|
|
72
74
|
generateText,
|
|
73
75
|
streamText,
|
|
74
|
-
generateImage,
|
|
76
|
+
experimental_generateImage as generateImage,
|
|
75
77
|
embed,
|
|
76
78
|
embedMany,
|
|
77
79
|
generateObject,
|
|
78
80
|
streamObject,
|
|
79
|
-
generateSpeech,
|
|
80
|
-
transcribe
|
|
81
|
+
experimental_generateSpeech as generateSpeech,
|
|
82
|
+
experimental_transcribe as transcribe
|
|
81
83
|
} from 'ai';
|
|
82
84
|
import { z } from 'zod';
|
|
83
85
|
```
|
|
84
86
|
|
|
87
|
+
> **注意**:`generateImage`、`generateSpeech` 和 `transcribe` 等 API 在 AI SDK v6 中仍为实验性功能。
|
|
88
|
+
|
|
85
89
|
### 生成文本
|
|
86
90
|
|
|
87
91
|
```ts
|