@aigne/openai 0.15.3 → 0.15.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
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.15.4](https://github.com/AIGNE-io/aigne-framework/compare/openai-v0.15.3...openai-v0.15.4) (2025-09-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/core bumped to 1.60.3
|
|
11
|
+
* devDependencies
|
|
12
|
+
* @aigne/test-utils bumped to 0.5.52
|
|
13
|
+
|
|
3
14
|
## [0.15.3](https://github.com/AIGNE-io/aigne-framework/compare/openai-v0.15.2...openai-v0.15.3) (2025-09-11)
|
|
4
15
|
|
|
5
16
|
|
|
@@ -83,7 +83,7 @@ class OpenAIImageModel extends core_1.ImageModel {
|
|
|
83
83
|
response_format: responseFormat,
|
|
84
84
|
model,
|
|
85
85
|
};
|
|
86
|
-
const response = await this.client.images.generate({ ...body });
|
|
86
|
+
const response = await this.client.images.generate({ ...body, stream: false });
|
|
87
87
|
return {
|
|
88
88
|
images: (response.data ?? []).map((image) => {
|
|
89
89
|
if (image.url)
|
|
@@ -80,7 +80,7 @@ export class OpenAIImageModel extends ImageModel {
|
|
|
80
80
|
response_format: responseFormat,
|
|
81
81
|
model,
|
|
82
82
|
};
|
|
83
|
-
const response = await this.client.images.generate({ ...body });
|
|
83
|
+
const response = await this.client.images.generate({ ...body, stream: false });
|
|
84
84
|
return {
|
|
85
85
|
images: (response.data ?? []).map((image) => {
|
|
86
86
|
if (image.url)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/openai",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"description": "AIGNE OpenAI SDK for integrating with OpenAI's GPT models and API services",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"ajv": "^8.17.1",
|
|
39
|
-
"openai": "^5.
|
|
40
|
-
"uuid": "^
|
|
39
|
+
"openai": "^5.20.3",
|
|
40
|
+
"uuid": "^13.0.0",
|
|
41
41
|
"zod": "^3.25.67",
|
|
42
|
-
"@aigne/
|
|
43
|
-
"@aigne/
|
|
42
|
+
"@aigne/core": "^1.60.3",
|
|
43
|
+
"@aigne/platform-helpers": "^0.6.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/bun": "^1.2.
|
|
47
|
-
"@types/node": "^24.
|
|
46
|
+
"@types/bun": "^1.2.22",
|
|
47
|
+
"@types/node": "^24.5.1",
|
|
48
48
|
"npm-run-all": "^4.1.5",
|
|
49
49
|
"rimraf": "^6.0.1",
|
|
50
|
-
"typescript": "^5.
|
|
51
|
-
"@aigne/test-utils": "^0.5.
|
|
50
|
+
"typescript": "^5.9.2",
|
|
51
|
+
"@aigne/test-utils": "^0.5.52"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"lint": "tsc --noEmit",
|