@aigne/doubao 1.2.0-beta.2 → 1.2.0

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.0](https://github.com/AIGNE-io/aigne-framework/compare/doubao-v1.2.0-beta.3...doubao-v1.2.0) (2025-11-21)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * @aigne/openai bumped to 0.16.10
11
+ * devDependencies
12
+ * @aigne/core bumped to 1.69.0
13
+ * @aigne/test-utils bumped to 0.5.63
14
+
15
+ ## [1.2.0-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/doubao-v1.2.0-beta.2...doubao-v1.2.0-beta.3) (2025-11-20)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add timeout to doubao and ideogram image models ([#761](https://github.com/AIGNE-io/aigne-framework/issues/761)) ([c232483](https://github.com/AIGNE-io/aigne-framework/commit/c232483c6024426524c3310e64b22d9f63206227))
21
+
3
22
  ## [1.2.0-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/doubao-v1.2.0-beta.1...doubao-v1.2.0-beta.2) (2025-11-19)
4
23
 
5
24
 
@@ -117,6 +117,7 @@ class DoubaoImageModel extends core_1.ImageModel {
117
117
  method: "POST",
118
118
  headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
119
119
  body: JSON.stringify(body),
120
+ timeout: this.options?.clientOptions?.timeout ?? 60 * 1000,
120
121
  });
121
122
  if (body.stream) {
122
123
  if (!response.body)
@@ -114,6 +114,7 @@ export class DoubaoImageModel extends ImageModel {
114
114
  method: "POST",
115
115
  headers: { Authorization: `Bearer ${apiKey}`, "Content-Type": "application/json" },
116
116
  body: JSON.stringify(body),
117
+ timeout: this.options?.clientOptions?.timeout ?? 60 * 1000,
117
118
  });
118
119
  if (body.stream) {
119
120
  if (!response.body)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/doubao",
3
- "version": "1.2.0-beta.2",
3
+ "version": "1.2.0",
4
4
  "description": "AIGNE doubao SDK for integrating with doubao AI models",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "ufo": "^1.6.1",
39
39
  "zod": "^3.25.67",
40
- "@aigne/openai": "^0.16.10-beta.3"
40
+ "@aigne/openai": "^0.16.10"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/bun": "^1.2.22",
@@ -47,8 +47,8 @@
47
47
  "npm-run-all": "^4.1.5",
48
48
  "rimraf": "^6.0.1",
49
49
  "typescript": "^5.9.2",
50
- "@aigne/core": "^1.69.0-beta.2",
51
- "@aigne/test-utils": "^0.5.63-beta.3"
50
+ "@aigne/core": "^1.69.0",
51
+ "@aigne/test-utils": "^0.5.63"
52
52
  },
53
53
  "scripts": {
54
54
  "lint": "tsc --noEmit",