@aigne/aigne-hub 0.8.10 → 0.9.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,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.0](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.8.10...aigne-hub-v0.9.0) (2025-09-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * support custom prefer input file type ([#469](https://github.com/AIGNE-io/aigne-framework/issues/469)) ([db0161b](https://github.com/AIGNE-io/aigne-framework/commit/db0161bbac52542c771ee2f40f361636b0668075))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/anthropic bumped to 0.13.0
16
+ * @aigne/bedrock bumped to 0.10.0
17
+ * @aigne/core bumped to 1.59.0
18
+ * @aigne/deepseek bumped to 0.7.41
19
+ * @aigne/doubao bumped to 1.0.35
20
+ * @aigne/gemini bumped to 0.13.0
21
+ * @aigne/ideogram bumped to 0.3.11
22
+ * @aigne/ollama bumped to 0.7.41
23
+ * @aigne/open-router bumped to 0.7.41
24
+ * @aigne/openai bumped to 0.15.0
25
+ * @aigne/poe bumped to 1.0.21
26
+ * @aigne/transport bumped to 0.15.4
27
+ * @aigne/xai bumped to 0.7.41
28
+ * devDependencies
29
+ * @aigne/test-utils bumped to 0.5.48
30
+
3
31
  ## [0.8.10](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.8.9...aigne-hub-v0.8.10) (2025-09-08)
4
32
 
5
33
 
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelOptions, ImageModel } from "@aigne/core";
1
+ import type { ChatModel, ImageModel, ModelOptions } 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?: ChatModelOptions;
7
+ modelOptions?: ModelOptions;
8
8
  apiKey?: string;
9
9
  url?: string;
10
10
  }) => ChatModel;
@@ -55,12 +55,10 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
55
55
  } | undefined;
56
56
  clientOptions?: {} | undefined;
57
57
  }>;
58
- export interface AIGNEHubChatModelOptions {
58
+ export interface AIGNEHubChatModelOptions extends ChatModelOptions {
59
59
  url?: string;
60
60
  baseURL?: string;
61
61
  apiKey?: string;
62
- model?: string;
63
- modelOptions?: ChatModelOptions;
64
62
  clientOptions?: OpenAIChatModelOptions["clientOptions"] & {
65
63
  clientId?: string;
66
64
  };
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelOptions, ImageModel } from "@aigne/core";
1
+ import type { ChatModel, ImageModel, ModelOptions } 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?: ChatModelOptions;
7
+ modelOptions?: ModelOptions;
8
8
  apiKey?: string;
9
9
  url?: string;
10
10
  }) => ChatModel;
@@ -55,12 +55,10 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
55
55
  } | undefined;
56
56
  clientOptions?: {} | undefined;
57
57
  }>;
58
- export interface AIGNEHubChatModelOptions {
58
+ export interface AIGNEHubChatModelOptions extends ChatModelOptions {
59
59
  url?: string;
60
60
  baseURL?: string;
61
61
  apiKey?: string;
62
- model?: string;
63
- modelOptions?: ChatModelOptions;
64
62
  clientOptions?: OpenAIChatModelOptions["clientOptions"] & {
65
63
  clientId?: string;
66
64
  };
@@ -1,10 +1,10 @@
1
- import type { ChatModel, ChatModelOptions, ImageModel } from "@aigne/core";
1
+ import type { ChatModel, ImageModel, ModelOptions } 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?: ChatModelOptions;
7
+ modelOptions?: ModelOptions;
8
8
  apiKey?: string;
9
9
  url?: string;
10
10
  }) => ChatModel;
@@ -55,12 +55,10 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
55
55
  } | undefined;
56
56
  clientOptions?: {} | undefined;
57
57
  }>;
58
- export interface AIGNEHubChatModelOptions {
58
+ export interface AIGNEHubChatModelOptions extends ChatModelOptions {
59
59
  url?: string;
60
60
  baseURL?: string;
61
61
  apiKey?: string;
62
- model?: string;
63
- modelOptions?: ChatModelOptions;
64
62
  clientOptions?: OpenAIChatModelOptions["clientOptions"] & {
65
63
  clientId?: string;
66
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/aigne-hub",
3
- "version": "0.8.10",
3
+ "version": "0.9.0",
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.12.3",
43
- "@aigne/bedrock": "^0.9.21",
44
- "@aigne/core": "^1.58.3",
45
- "@aigne/deepseek": "^0.7.40",
46
- "@aigne/doubao": "^1.0.34",
47
- "@aigne/ideogram": "^0.3.10",
48
- "@aigne/gemini": "^0.12.3",
49
- "@aigne/ollama": "^0.7.40",
50
- "@aigne/openai": "^0.14.3",
51
- "@aigne/platform-helpers": "^0.6.2",
52
- "@aigne/open-router": "^0.7.40",
53
- "@aigne/poe": "^1.0.20",
54
- "@aigne/transport": "^0.15.3",
55
- "@aigne/xai": "^0.7.40"
42
+ "@aigne/anthropic": "^0.13.0",
43
+ "@aigne/bedrock": "^0.10.0",
44
+ "@aigne/core": "^1.59.0",
45
+ "@aigne/deepseek": "^0.7.41",
46
+ "@aigne/doubao": "^1.0.35",
47
+ "@aigne/gemini": "^0.13.0",
48
+ "@aigne/ollama": "^0.7.41",
49
+ "@aigne/open-router": "^0.7.41",
50
+ "@aigne/ideogram": "^0.3.11",
51
+ "@aigne/openai": "^0.15.0",
52
+ "@aigne/poe": "^1.0.21",
53
+ "@aigne/transport": "^0.15.4",
54
+ "@aigne/xai": "^0.7.41",
55
+ "@aigne/platform-helpers": "^0.6.2"
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.47"
64
+ "@aigne/test-utils": "^0.5.48"
65
65
  },
66
66
  "scripts": {
67
67
  "lint": "tsc --noEmit",