@aigne/aigne-hub 0.10.5-beta.2 → 0.10.5-beta.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,61 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.5-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.5-beta.3...aigne-hub-v0.10.5-beta.4) (2025-11-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * add dynamic model options resolution with getter pattern ([#708](https://github.com/AIGNE-io/aigne-framework/issues/708)) ([5ed5085](https://github.com/AIGNE-io/aigne-framework/commit/5ed5085203763c70194853c56edc13acf56d81c6))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add configurable timeout for fetch requests and set 3min timeout for hub video model ([4eb7f3d](https://github.com/AIGNE-io/aigne-framework/commit/4eb7f3df590992742706197bcb48b4db35ccc948))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * The following workspace dependencies were updated
19
+ * dependencies
20
+ * @aigne/anthropic bumped to 0.14.5-beta.4
21
+ * @aigne/bedrock bumped to 0.10.10-beta.4
22
+ * @aigne/core bumped to 1.66.0-beta.3
23
+ * @aigne/deepseek bumped to 0.7.51-beta.4
24
+ * @aigne/doubao bumped to 1.1.5-beta.4
25
+ * @aigne/gemini bumped to 0.14.5-beta.4
26
+ * @aigne/ideogram bumped to 0.4.5-beta.4
27
+ * @aigne/ollama bumped to 0.7.51-beta.4
28
+ * @aigne/open-router bumped to 0.7.51-beta.4
29
+ * @aigne/openai bumped to 0.16.5-beta.4
30
+ * @aigne/poe bumped to 1.0.31-beta.4
31
+ * @aigne/transport bumped to 0.15.14-beta.4
32
+ * @aigne/xai bumped to 0.7.51-beta.4
33
+ * devDependencies
34
+ * @aigne/test-utils bumped to 0.5.58-beta.4
35
+
36
+ ## [0.10.5-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.5-beta.2...aigne-hub-v0.10.5-beta.3) (2025-11-05)
37
+
38
+
39
+ ### Dependencies
40
+
41
+ * The following workspace dependencies were updated
42
+ * dependencies
43
+ * @aigne/anthropic bumped to 0.14.5-beta.3
44
+ * @aigne/bedrock bumped to 0.10.10-beta.3
45
+ * @aigne/core bumped to 1.65.1-beta.3
46
+ * @aigne/deepseek bumped to 0.7.51-beta.3
47
+ * @aigne/doubao bumped to 1.1.5-beta.3
48
+ * @aigne/gemini bumped to 0.14.5-beta.3
49
+ * @aigne/ideogram bumped to 0.4.5-beta.3
50
+ * @aigne/ollama bumped to 0.7.51-beta.3
51
+ * @aigne/open-router bumped to 0.7.51-beta.3
52
+ * @aigne/openai bumped to 0.16.5-beta.3
53
+ * @aigne/poe bumped to 1.0.31-beta.3
54
+ * @aigne/transport bumped to 0.15.14-beta.3
55
+ * @aigne/xai bumped to 0.7.51-beta.3
56
+ * devDependencies
57
+ * @aigne/test-utils bumped to 0.5.58-beta.3
58
+
3
59
  ## [0.10.5-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.5-beta.1...aigne-hub-v0.10.5-beta.2) (2025-11-04)
4
60
 
5
61
 
@@ -67,6 +67,7 @@ class AIGNEHubVideoModel extends core_1.VideoModel {
67
67
  streaming: false,
68
68
  fetchOptions: {
69
69
  ...options.fetchOptions,
70
+ timeout: 60e3 * 3,
70
71
  headers: {
71
72
  ...options.fetchOptions?.headers,
72
73
  "x-aigne-hub-client-did": clientId,
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelInputOptions, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
1
+ import type { ChatModel, ChatModelInputOptionsWithGetter, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
2
2
  export interface LoadableModel {
3
3
  name: string | string[];
4
4
  apiKeyEnvName?: string | string[];
5
5
  create: (options: {
6
6
  model?: string;
7
- modelOptions?: ChatModelInputOptions;
7
+ modelOptions?: ChatModelInputOptionsWithGetter;
8
8
  apiKey?: string;
9
9
  baseURL?: string;
10
10
  }) => ChatModel;
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelInputOptions, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
1
+ import type { ChatModel, ChatModelInputOptionsWithGetter, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
2
2
  export interface LoadableModel {
3
3
  name: string | string[];
4
4
  apiKeyEnvName?: string | string[];
5
5
  create: (options: {
6
6
  model?: string;
7
- modelOptions?: ChatModelInputOptions;
7
+ modelOptions?: ChatModelInputOptionsWithGetter;
8
8
  apiKey?: string;
9
9
  baseURL?: string;
10
10
  }) => ChatModel;
@@ -64,6 +64,7 @@ export class AIGNEHubVideoModel extends VideoModel {
64
64
  streaming: false,
65
65
  fetchOptions: {
66
66
  ...options.fetchOptions,
67
+ timeout: 60e3 * 3,
67
68
  headers: {
68
69
  ...options.fetchOptions?.headers,
69
70
  "x-aigne-hub-client-did": clientId,
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelInputOptions, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
1
+ import type { ChatModel, ChatModelInputOptionsWithGetter, ImageModel, ImageModelInputOptions, VideoModel } from "@aigne/core";
2
2
  export interface LoadableModel {
3
3
  name: string | string[];
4
4
  apiKeyEnvName?: string | string[];
5
5
  create: (options: {
6
6
  model?: string;
7
- modelOptions?: ChatModelInputOptions;
7
+ modelOptions?: ChatModelInputOptionsWithGetter;
8
8
  apiKey?: string;
9
9
  baseURL?: string;
10
10
  }) => ChatModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/aigne-hub",
3
- "version": "0.10.5-beta.2",
3
+ "version": "0.10.5-beta.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/anthropic": "^0.14.5-beta.2",
43
- "@aigne/bedrock": "^0.10.10-beta.2",
44
- "@aigne/deepseek": "^0.7.51-beta.2",
45
- "@aigne/core": "^1.65.1-beta.2",
46
- "@aigne/doubao": "^1.1.5-beta.2",
47
- "@aigne/gemini": "^0.14.5-beta.2",
48
- "@aigne/ollama": "^0.7.51-beta.2",
49
- "@aigne/ideogram": "^0.4.5-beta.2",
50
- "@aigne/openai": "^0.16.5-beta.2",
51
- "@aigne/open-router": "^0.7.51-beta.2",
42
+ "@aigne/anthropic": "^0.14.5-beta.4",
43
+ "@aigne/bedrock": "^0.10.10-beta.4",
44
+ "@aigne/deepseek": "^0.7.51-beta.4",
45
+ "@aigne/doubao": "^1.1.5-beta.4",
46
+ "@aigne/core": "^1.66.0-beta.3",
47
+ "@aigne/ideogram": "^0.4.5-beta.4",
48
+ "@aigne/gemini": "^0.14.5-beta.4",
49
+ "@aigne/ollama": "^0.7.51-beta.4",
50
+ "@aigne/open-router": "^0.7.51-beta.4",
51
+ "@aigne/openai": "^0.16.5-beta.4",
52
52
  "@aigne/platform-helpers": "^0.6.3",
53
- "@aigne/transport": "^0.15.14-beta.2",
54
- "@aigne/xai": "^0.7.51-beta.2",
55
- "@aigne/poe": "^1.0.31-beta.2"
53
+ "@aigne/poe": "^1.0.31-beta.4",
54
+ "@aigne/transport": "^0.15.14-beta.4",
55
+ "@aigne/xai": "^0.7.51-beta.4"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@types/bun": "^1.2.22",
@@ -61,7 +61,7 @@
61
61
  "npm-run-all": "^4.1.5",
62
62
  "rimraf": "^6.0.1",
63
63
  "typescript": "^5.9.2",
64
- "@aigne/test-utils": "^0.5.58-beta.2"
64
+ "@aigne/test-utils": "^0.5.58-beta.4"
65
65
  },
66
66
  "scripts": {
67
67
  "lint": "tsc --noEmit",