@aigne/aigne-hub 0.9.2 → 0.9.4
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 +32 -0
- package/lib/cjs/utils/model.js +5 -0
- package/lib/esm/utils/model.js +6 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.4](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.9.3...aigne-hub-v0.9.4) (2025-09-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/doubao bumped to 1.0.39
|
|
11
|
+
|
|
12
|
+
## [0.9.3](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.9.2...aigne-hub-v0.9.3) (2025-09-11)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* @aigne/anthropic bumped to 0.13.3
|
|
20
|
+
* @aigne/bedrock bumped to 0.10.3
|
|
21
|
+
* @aigne/core bumped to 1.60.2
|
|
22
|
+
* @aigne/deepseek bumped to 0.7.44
|
|
23
|
+
* @aigne/doubao bumped to 1.0.38
|
|
24
|
+
* @aigne/gemini bumped to 0.13.3
|
|
25
|
+
* @aigne/ideogram bumped to 0.3.14
|
|
26
|
+
* @aigne/ollama bumped to 0.7.44
|
|
27
|
+
* @aigne/open-router bumped to 0.7.44
|
|
28
|
+
* @aigne/openai bumped to 0.15.3
|
|
29
|
+
* @aigne/poe bumped to 1.0.24
|
|
30
|
+
* @aigne/transport bumped to 0.15.7
|
|
31
|
+
* @aigne/xai bumped to 0.7.44
|
|
32
|
+
* devDependencies
|
|
33
|
+
* @aigne/test-utils bumped to 0.5.51
|
|
34
|
+
|
|
3
35
|
## [0.9.2](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.9.1...aigne-hub-v0.9.2) (2025-09-11)
|
|
4
36
|
|
|
5
37
|
|
package/lib/cjs/utils/model.js
CHANGED
|
@@ -119,6 +119,11 @@ function availableImageModels() {
|
|
|
119
119
|
apiKeyEnvName: "IDEOGRAM_API_KEY",
|
|
120
120
|
create: (params) => new ideogram_1.IdeogramImageModel({ ...params }),
|
|
121
121
|
},
|
|
122
|
+
{
|
|
123
|
+
name: doubao_1.DoubaoImageModel.name,
|
|
124
|
+
apiKeyEnvName: "DOUBAO_API_KEY",
|
|
125
|
+
create: (params) => new doubao_1.DoubaoImageModel({ ...params, clientOptions }),
|
|
126
|
+
},
|
|
122
127
|
{
|
|
123
128
|
name: aigne_hub_image_model_js_1.AIGNEHubImageModel.name,
|
|
124
129
|
apiKeyEnvName: "AIGNE_HUB_API_KEY",
|
package/lib/esm/utils/model.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnthropicChatModel } from "@aigne/anthropic";
|
|
2
2
|
import { BedrockChatModel } from "@aigne/bedrock";
|
|
3
3
|
import { DeepSeekChatModel } from "@aigne/deepseek";
|
|
4
|
-
import { DoubaoChatModel } from "@aigne/doubao";
|
|
4
|
+
import { DoubaoChatModel, DoubaoImageModel } from "@aigne/doubao";
|
|
5
5
|
import { GeminiChatModel, GeminiImageModel } from "@aigne/gemini";
|
|
6
6
|
import { IdeogramImageModel } from "@aigne/ideogram";
|
|
7
7
|
import { OllamaChatModel } from "@aigne/ollama";
|
|
@@ -113,6 +113,11 @@ export function availableImageModels() {
|
|
|
113
113
|
apiKeyEnvName: "IDEOGRAM_API_KEY",
|
|
114
114
|
create: (params) => new IdeogramImageModel({ ...params }),
|
|
115
115
|
},
|
|
116
|
+
{
|
|
117
|
+
name: DoubaoImageModel.name,
|
|
118
|
+
apiKeyEnvName: "DOUBAO_API_KEY",
|
|
119
|
+
create: (params) => new DoubaoImageModel({ ...params, clientOptions }),
|
|
120
|
+
},
|
|
116
121
|
{
|
|
117
122
|
name: AIGNEHubImageModel.name,
|
|
118
123
|
apiKeyEnvName: "AIGNE_HUB_API_KEY",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/aigne-hub",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
4
|
"description": "AIGNE Hub SDK for integrating with Hub AI models",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"https-proxy-agent": "^7.0.6",
|
|
40
40
|
"ufo": "^1.6.1",
|
|
41
41
|
"zod": "^3.25.67",
|
|
42
|
-
"@aigne/
|
|
43
|
-
"@aigne/
|
|
44
|
-
"@aigne/
|
|
45
|
-
"@aigne/
|
|
46
|
-
"@aigne/
|
|
47
|
-
"@aigne/
|
|
48
|
-
"@aigne/
|
|
49
|
-
"@aigne/ollama": "^0.7.
|
|
50
|
-
"@aigne/open-router": "^0.7.
|
|
51
|
-
"@aigne/openai": "^0.15.
|
|
42
|
+
"@aigne/anthropic": "^0.13.3",
|
|
43
|
+
"@aigne/bedrock": "^0.10.3",
|
|
44
|
+
"@aigne/core": "^1.60.2",
|
|
45
|
+
"@aigne/deepseek": "^0.7.44",
|
|
46
|
+
"@aigne/doubao": "^1.0.39",
|
|
47
|
+
"@aigne/ideogram": "^0.3.14",
|
|
48
|
+
"@aigne/gemini": "^0.13.3",
|
|
49
|
+
"@aigne/ollama": "^0.7.44",
|
|
50
|
+
"@aigne/open-router": "^0.7.44",
|
|
51
|
+
"@aigne/openai": "^0.15.3",
|
|
52
52
|
"@aigne/platform-helpers": "^0.6.2",
|
|
53
|
-
"@aigne/poe": "^1.0.
|
|
54
|
-
"@aigne/transport": "^0.15.
|
|
55
|
-
"@aigne/xai": "^0.7.
|
|
53
|
+
"@aigne/poe": "^1.0.24",
|
|
54
|
+
"@aigne/transport": "^0.15.7",
|
|
55
|
+
"@aigne/xai": "^0.7.44"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/bun": "^1.2.18",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"npm-run-all": "^4.1.5",
|
|
62
62
|
"rimraf": "^6.0.1",
|
|
63
63
|
"typescript": "^5.8.3",
|
|
64
|
-
"@aigne/test-utils": "^0.5.
|
|
64
|
+
"@aigne/test-utils": "^0.5.51"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"lint": "tsc --noEmit",
|