@aigne/core 1.67.0-beta.2 → 1.67.0-beta.3

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.67.0-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.67.0-beta.2...core-v1.67.0-beta.3) (2025-11-12)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **core:** improved ImageAgent parameter filtering to reduce redundant parameter passing ([#734](https://github.com/AIGNE-io/aigne-framework/issues/734)) ([f8f7da2](https://github.com/AIGNE-io/aigne-framework/commit/f8f7da21d6e55062da0d2070b3289388ba5e6702))
9
+
3
10
  ## [1.67.0-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.67.0-beta.1...core-v1.67.0-beta.2) (2025-11-12)
4
11
 
5
12
 
@@ -44,8 +44,9 @@ class ImageAgent extends agent_js_1.Agent {
44
44
  input,
45
45
  agent: this,
46
46
  });
47
+ const n = input.n || this.modelOptions?.n;
47
48
  return (await this.invokeChildAgent(imageModel, {
48
- ...input,
49
+ n: n && typeof n === "number" ? n : undefined,
49
50
  modelOptions: this.modelOptions,
50
51
  prompt,
51
52
  image,
@@ -38,8 +38,9 @@ export class ImageAgent extends Agent {
38
38
  input,
39
39
  agent: this,
40
40
  });
41
+ const n = input.n || this.modelOptions?.n;
41
42
  return (await this.invokeChildAgent(imageModel, {
42
- ...input,
43
+ n: n && typeof n === "number" ? n : undefined,
43
44
  modelOptions: this.modelOptions,
44
45
  prompt,
45
46
  image,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/core",
3
- "version": "1.67.0-beta.2",
3
+ "version": "1.67.0-beta.3",
4
4
  "description": "The functional core of agentic AI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -92,9 +92,9 @@
92
92
  "zod": "^3.25.67",
93
93
  "zod-from-json-schema": "^0.0.5",
94
94
  "zod-to-json-schema": "^3.24.6",
95
- "@aigne/afs": "^1.1.2-beta",
95
+ "@aigne/platform-helpers": "^0.6.3",
96
96
  "@aigne/observability-api": "^0.11.6-beta.2",
97
- "@aigne/platform-helpers": "^0.6.3"
97
+ "@aigne/afs": "^1.1.2-beta"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@types/bun": "^1.2.22",