@ai-sdk/gateway 1.0.0-alpha.9 → 1.0.0-beta.10
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 +143 -0
- package/dist/index.d.mts +33 -30
- package/dist/index.d.ts +33 -30
- package/dist/index.js +165 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +156 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,148 @@
|
|
|
1
1
|
# @ai-sdk/gateway
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [57edfcb]
|
|
8
|
+
- Updated dependencies [383cbfa]
|
|
9
|
+
- @ai-sdk/provider-utils@3.0.0-beta.5
|
|
10
|
+
|
|
11
|
+
## 1.0.0-beta.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 205077b: fix: improve Zod compatibility
|
|
16
|
+
- Updated dependencies [205077b]
|
|
17
|
+
- @ai-sdk/provider-utils@3.0.0-beta.4
|
|
18
|
+
|
|
19
|
+
## 1.0.0-beta.8
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [05d2819]
|
|
24
|
+
- @ai-sdk/provider-utils@3.0.0-beta.3
|
|
25
|
+
|
|
26
|
+
## 1.0.0-beta.7
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- c190907: fix (provider/gateway): use zod v4
|
|
31
|
+
|
|
32
|
+
## 1.0.0-beta.6
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- 9e16bfd: feat (provider/gateway): update model ids
|
|
37
|
+
|
|
38
|
+
## 1.0.0-beta.5
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- 30ab1de: feat (provider/gateway): add grok-4 model id
|
|
43
|
+
|
|
44
|
+
## 1.0.0-beta.4
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- 97fedf9: feat (providers/gateway): include description and pricing info in model list
|
|
49
|
+
|
|
50
|
+
## 1.0.0-beta.3
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- f3639fa: feat (providers/gateway): improve oidc api key client auth flow
|
|
55
|
+
- d454e4b: fix (providers/gateway): fix timestamp error when streaming objects
|
|
56
|
+
|
|
57
|
+
## 1.0.0-beta.2
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- c91586a: chore (providers/gateway): update language model ids
|
|
62
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
|
63
|
+
- Updated dependencies [0571b98]
|
|
64
|
+
- Updated dependencies [39a4fab]
|
|
65
|
+
- Updated dependencies [d1a034f]
|
|
66
|
+
- @ai-sdk/provider-utils@3.0.0-beta.2
|
|
67
|
+
|
|
68
|
+
## 1.0.0-beta.1
|
|
69
|
+
|
|
70
|
+
### Patch Changes
|
|
71
|
+
|
|
72
|
+
- f77bc38: chore (providers/gateway): update language model ids
|
|
73
|
+
- Updated dependencies [742b7be]
|
|
74
|
+
- Updated dependencies [7cddb72]
|
|
75
|
+
- Updated dependencies [ccce59b]
|
|
76
|
+
- Updated dependencies [e2b9e4b]
|
|
77
|
+
- Updated dependencies [45c1ea2]
|
|
78
|
+
- Updated dependencies [e025824]
|
|
79
|
+
- Updated dependencies [0d06df6]
|
|
80
|
+
- Updated dependencies [472524a]
|
|
81
|
+
- Updated dependencies [dd3ff01]
|
|
82
|
+
- Updated dependencies [7435eb5]
|
|
83
|
+
- Updated dependencies [cb68df0]
|
|
84
|
+
- Updated dependencies [bfdca8d]
|
|
85
|
+
- Updated dependencies [44f4aba]
|
|
86
|
+
- Updated dependencies [023ba40]
|
|
87
|
+
- Updated dependencies [5e57fae]
|
|
88
|
+
- Updated dependencies [71f938d]
|
|
89
|
+
- Updated dependencies [28a5ed5]
|
|
90
|
+
- @ai-sdk/provider@2.0.0-beta.1
|
|
91
|
+
- @ai-sdk/provider-utils@3.0.0-beta.1
|
|
92
|
+
|
|
93
|
+
## 1.0.0-alpha.15
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- c145d62: feat (providers/gateway): add createGateway shorthand alias for createGatewayProvider
|
|
98
|
+
- Updated dependencies [48d257a]
|
|
99
|
+
- Updated dependencies [8ba77a7]
|
|
100
|
+
- @ai-sdk/provider@2.0.0-alpha.15
|
|
101
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.15
|
|
102
|
+
|
|
103
|
+
## 1.0.0-alpha.14
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies [b5da06a]
|
|
108
|
+
- Updated dependencies [63f9e9b]
|
|
109
|
+
- Updated dependencies [2e13791]
|
|
110
|
+
- @ai-sdk/provider@2.0.0-alpha.14
|
|
111
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.14
|
|
112
|
+
|
|
113
|
+
## 1.0.0-alpha.13
|
|
114
|
+
|
|
115
|
+
### Patch Changes
|
|
116
|
+
|
|
117
|
+
- Updated dependencies [68ecf2f]
|
|
118
|
+
- @ai-sdk/provider@2.0.0-alpha.13
|
|
119
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.13
|
|
120
|
+
|
|
121
|
+
## 1.0.0-alpha.12
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- e2aceaf: feat: add raw chunk support
|
|
126
|
+
- Updated dependencies [e2aceaf]
|
|
127
|
+
- @ai-sdk/provider@2.0.0-alpha.12
|
|
128
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.12
|
|
129
|
+
|
|
130
|
+
## 1.0.0-alpha.11
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- Updated dependencies [c1e6647]
|
|
135
|
+
- @ai-sdk/provider@2.0.0-alpha.11
|
|
136
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.11
|
|
137
|
+
|
|
138
|
+
## 1.0.0-alpha.10
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [c4df419]
|
|
143
|
+
- @ai-sdk/provider@2.0.0-alpha.10
|
|
144
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.10
|
|
145
|
+
|
|
3
146
|
## 1.0.0-alpha.9
|
|
4
147
|
|
|
5
148
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LanguageModelV2, ProviderV2 } from '@ai-sdk/provider';
|
|
2
2
|
import { FetchFunction } from '@ai-sdk/provider-utils';
|
|
3
|
-
import { z, ZodError } from 'zod';
|
|
3
|
+
import { z, ZodError } from 'zod/v4';
|
|
4
4
|
|
|
5
|
-
type GatewayModelId = '
|
|
5
|
+
type GatewayModelId = 'alibaba/qwen-3-14b' | 'alibaba/qwen-3-235b' | 'alibaba/qwen-3-30b' | 'alibaba/qwen-3-32b' | 'amazon/nova-lite' | 'amazon/nova-micro' | 'amazon/nova-pro' | 'anthropic/claude-3-haiku' | 'anthropic/claude-3-opus' | 'anthropic/claude-3.5-haiku' | 'anthropic/claude-3.5-sonnet' | 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-4-opus' | 'anthropic/claude-4-sonnet' | 'cohere/command-a' | 'cohere/command-r' | 'cohere/command-r-plus' | 'deepseek/deepseek-r1' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-v3' | 'google/gemini-2.0-flash' | 'google/gemini-2.0-flash-lite' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-pro' | 'google/gemma-2-9b' | 'inception/mercury-coder-small' | 'meta/llama-3-70b' | 'meta/llama-3-8b' | 'meta/llama-3.1-70b' | 'meta/llama-3.1-8b' | 'meta/llama-3.2-11b' | 'meta/llama-3.2-1b' | 'meta/llama-3.2-3b' | 'meta/llama-3.2-90b' | 'meta/llama-3.3-70b' | 'meta/llama-4-maverick' | 'meta/llama-4-scout' | 'mistral/codestral' | 'mistral/magistral-medium' | 'mistral/magistral-small' | 'mistral/ministral-3b' | 'mistral/ministral-8b' | 'mistral/mistral-large' | 'mistral/mistral-saba-24b' | 'mistral/mistral-small' | 'mistral/mixtral-8x22b-instruct' | 'mistral/pixtral-12b' | 'mistral/pixtral-large' | 'moonshotai/kimi-k2' | 'morph/morph-v3-fast' | 'morph/morph-v3-large' | 'openai/gpt-3.5-turbo' | 'openai/gpt-3.5-turbo-instruct' | 'openai/gpt-4-turbo' | 'openai/gpt-4.1' | 'openai/gpt-4.1-mini' | 'openai/gpt-4.1-nano' | 'openai/gpt-4o' | 'openai/gpt-4o-mini' | 'openai/o1' | 'openai/o3' | 'openai/o3-mini' | 'openai/o4-mini' | 'perplexity/sonar' | 'perplexity/sonar-pro' | 'perplexity/sonar-reasoning' | 'perplexity/sonar-reasoning-pro' | 'xai/grok-2' | 'xai/grok-2-vision' | 'xai/grok-3' | 'xai/grok-3-fast' | 'xai/grok-3-mini' | 'xai/grok-3-mini-fast' | 'xai/grok-4' | (string & {});
|
|
6
6
|
|
|
7
7
|
interface GatewayLanguageModelEntry {
|
|
8
8
|
/**
|
|
@@ -14,6 +14,23 @@ interface GatewayLanguageModelEntry {
|
|
|
14
14
|
* The display name of the model for presentation in user-facing contexts.
|
|
15
15
|
*/
|
|
16
16
|
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional description of the model.
|
|
19
|
+
*/
|
|
20
|
+
description?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Optional pricing information for the model.
|
|
23
|
+
*/
|
|
24
|
+
pricing?: {
|
|
25
|
+
/**
|
|
26
|
+
* Cost per input token in USD.
|
|
27
|
+
*/
|
|
28
|
+
input: string;
|
|
29
|
+
/**
|
|
30
|
+
* Cost per output token in USD.
|
|
31
|
+
*/
|
|
32
|
+
output: string;
|
|
33
|
+
} | null;
|
|
17
34
|
/**
|
|
18
35
|
* Additional AI SDK language model specifications for the model.
|
|
19
36
|
*/
|
|
@@ -91,33 +108,9 @@ declare const gatewayErrorResponseSchema: z.ZodObject<{
|
|
|
91
108
|
message: z.ZodString;
|
|
92
109
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
110
|
param: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
94
|
-
code: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
code?: string | number | null | undefined;
|
|
98
|
-
type?: string | null | undefined;
|
|
99
|
-
param?: unknown;
|
|
100
|
-
}, {
|
|
101
|
-
message: string;
|
|
102
|
-
code?: string | number | null | undefined;
|
|
103
|
-
type?: string | null | undefined;
|
|
104
|
-
param?: unknown;
|
|
105
|
-
}>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
error: {
|
|
108
|
-
message: string;
|
|
109
|
-
code?: string | number | null | undefined;
|
|
110
|
-
type?: string | null | undefined;
|
|
111
|
-
param?: unknown;
|
|
112
|
-
};
|
|
113
|
-
}, {
|
|
114
|
-
error: {
|
|
115
|
-
message: string;
|
|
116
|
-
code?: string | number | null | undefined;
|
|
117
|
-
type?: string | null | undefined;
|
|
118
|
-
param?: unknown;
|
|
119
|
-
};
|
|
120
|
-
}>;
|
|
111
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
}, z.core.$strip>;
|
|
121
114
|
type GatewayErrorResponse = z.infer<typeof gatewayErrorResponseSchema>;
|
|
122
115
|
|
|
123
116
|
declare const symbol$5: unique symbol;
|
|
@@ -134,6 +127,16 @@ declare class GatewayAuthenticationError extends GatewayError {
|
|
|
134
127
|
cause?: unknown;
|
|
135
128
|
});
|
|
136
129
|
static isInstance(error: unknown): error is GatewayAuthenticationError;
|
|
130
|
+
/**
|
|
131
|
+
* Creates a contextual error message when authentication fails
|
|
132
|
+
*/
|
|
133
|
+
static createContextualError({ apiKeyProvided, oidcTokenProvided, message, statusCode, cause, }: {
|
|
134
|
+
apiKeyProvided: boolean;
|
|
135
|
+
oidcTokenProvided: boolean;
|
|
136
|
+
message?: string;
|
|
137
|
+
statusCode?: number;
|
|
138
|
+
cause?: unknown;
|
|
139
|
+
}): GatewayAuthenticationError;
|
|
137
140
|
}
|
|
138
141
|
|
|
139
142
|
declare const symbol$4: unique symbol;
|
|
@@ -222,4 +225,4 @@ declare class GatewayResponseError extends GatewayError {
|
|
|
222
225
|
static isInstance(error: unknown): error is GatewayResponseError;
|
|
223
226
|
}
|
|
224
227
|
|
|
225
|
-
export { GatewayAuthenticationError, GatewayError, type GatewayErrorResponse, GatewayInternalServerError, GatewayInvalidRequestError, type GatewayLanguageModelEntry, type GatewayLanguageModelSpecification, type GatewayModelId, GatewayModelNotFoundError, type GatewayProvider, type GatewayProviderSettings, GatewayRateLimitError, GatewayResponseError, createGatewayProvider, gateway };
|
|
228
|
+
export { GatewayAuthenticationError, GatewayError, type GatewayErrorResponse, GatewayInternalServerError, GatewayInvalidRequestError, type GatewayLanguageModelEntry, type GatewayLanguageModelSpecification, type GatewayModelId, GatewayModelNotFoundError, type GatewayProvider, type GatewayProviderSettings, GatewayRateLimitError, GatewayResponseError, createGatewayProvider as createGateway, createGatewayProvider, gateway };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LanguageModelV2, ProviderV2 } from '@ai-sdk/provider';
|
|
2
2
|
import { FetchFunction } from '@ai-sdk/provider-utils';
|
|
3
|
-
import { z, ZodError } from 'zod';
|
|
3
|
+
import { z, ZodError } from 'zod/v4';
|
|
4
4
|
|
|
5
|
-
type GatewayModelId = '
|
|
5
|
+
type GatewayModelId = 'alibaba/qwen-3-14b' | 'alibaba/qwen-3-235b' | 'alibaba/qwen-3-30b' | 'alibaba/qwen-3-32b' | 'amazon/nova-lite' | 'amazon/nova-micro' | 'amazon/nova-pro' | 'anthropic/claude-3-haiku' | 'anthropic/claude-3-opus' | 'anthropic/claude-3.5-haiku' | 'anthropic/claude-3.5-sonnet' | 'anthropic/claude-3.7-sonnet' | 'anthropic/claude-4-opus' | 'anthropic/claude-4-sonnet' | 'cohere/command-a' | 'cohere/command-r' | 'cohere/command-r-plus' | 'deepseek/deepseek-r1' | 'deepseek/deepseek-r1-distill-llama-70b' | 'deepseek/deepseek-v3' | 'google/gemini-2.0-flash' | 'google/gemini-2.0-flash-lite' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-pro' | 'google/gemma-2-9b' | 'inception/mercury-coder-small' | 'meta/llama-3-70b' | 'meta/llama-3-8b' | 'meta/llama-3.1-70b' | 'meta/llama-3.1-8b' | 'meta/llama-3.2-11b' | 'meta/llama-3.2-1b' | 'meta/llama-3.2-3b' | 'meta/llama-3.2-90b' | 'meta/llama-3.3-70b' | 'meta/llama-4-maverick' | 'meta/llama-4-scout' | 'mistral/codestral' | 'mistral/magistral-medium' | 'mistral/magistral-small' | 'mistral/ministral-3b' | 'mistral/ministral-8b' | 'mistral/mistral-large' | 'mistral/mistral-saba-24b' | 'mistral/mistral-small' | 'mistral/mixtral-8x22b-instruct' | 'mistral/pixtral-12b' | 'mistral/pixtral-large' | 'moonshotai/kimi-k2' | 'morph/morph-v3-fast' | 'morph/morph-v3-large' | 'openai/gpt-3.5-turbo' | 'openai/gpt-3.5-turbo-instruct' | 'openai/gpt-4-turbo' | 'openai/gpt-4.1' | 'openai/gpt-4.1-mini' | 'openai/gpt-4.1-nano' | 'openai/gpt-4o' | 'openai/gpt-4o-mini' | 'openai/o1' | 'openai/o3' | 'openai/o3-mini' | 'openai/o4-mini' | 'perplexity/sonar' | 'perplexity/sonar-pro' | 'perplexity/sonar-reasoning' | 'perplexity/sonar-reasoning-pro' | 'xai/grok-2' | 'xai/grok-2-vision' | 'xai/grok-3' | 'xai/grok-3-fast' | 'xai/grok-3-mini' | 'xai/grok-3-mini-fast' | 'xai/grok-4' | (string & {});
|
|
6
6
|
|
|
7
7
|
interface GatewayLanguageModelEntry {
|
|
8
8
|
/**
|
|
@@ -14,6 +14,23 @@ interface GatewayLanguageModelEntry {
|
|
|
14
14
|
* The display name of the model for presentation in user-facing contexts.
|
|
15
15
|
*/
|
|
16
16
|
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional description of the model.
|
|
19
|
+
*/
|
|
20
|
+
description?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Optional pricing information for the model.
|
|
23
|
+
*/
|
|
24
|
+
pricing?: {
|
|
25
|
+
/**
|
|
26
|
+
* Cost per input token in USD.
|
|
27
|
+
*/
|
|
28
|
+
input: string;
|
|
29
|
+
/**
|
|
30
|
+
* Cost per output token in USD.
|
|
31
|
+
*/
|
|
32
|
+
output: string;
|
|
33
|
+
} | null;
|
|
17
34
|
/**
|
|
18
35
|
* Additional AI SDK language model specifications for the model.
|
|
19
36
|
*/
|
|
@@ -91,33 +108,9 @@ declare const gatewayErrorResponseSchema: z.ZodObject<{
|
|
|
91
108
|
message: z.ZodString;
|
|
92
109
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
110
|
param: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
94
|
-
code: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
code?: string | number | null | undefined;
|
|
98
|
-
type?: string | null | undefined;
|
|
99
|
-
param?: unknown;
|
|
100
|
-
}, {
|
|
101
|
-
message: string;
|
|
102
|
-
code?: string | number | null | undefined;
|
|
103
|
-
type?: string | null | undefined;
|
|
104
|
-
param?: unknown;
|
|
105
|
-
}>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
error: {
|
|
108
|
-
message: string;
|
|
109
|
-
code?: string | number | null | undefined;
|
|
110
|
-
type?: string | null | undefined;
|
|
111
|
-
param?: unknown;
|
|
112
|
-
};
|
|
113
|
-
}, {
|
|
114
|
-
error: {
|
|
115
|
-
message: string;
|
|
116
|
-
code?: string | number | null | undefined;
|
|
117
|
-
type?: string | null | undefined;
|
|
118
|
-
param?: unknown;
|
|
119
|
-
};
|
|
120
|
-
}>;
|
|
111
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
}, z.core.$strip>;
|
|
121
114
|
type GatewayErrorResponse = z.infer<typeof gatewayErrorResponseSchema>;
|
|
122
115
|
|
|
123
116
|
declare const symbol$5: unique symbol;
|
|
@@ -134,6 +127,16 @@ declare class GatewayAuthenticationError extends GatewayError {
|
|
|
134
127
|
cause?: unknown;
|
|
135
128
|
});
|
|
136
129
|
static isInstance(error: unknown): error is GatewayAuthenticationError;
|
|
130
|
+
/**
|
|
131
|
+
* Creates a contextual error message when authentication fails
|
|
132
|
+
*/
|
|
133
|
+
static createContextualError({ apiKeyProvided, oidcTokenProvided, message, statusCode, cause, }: {
|
|
134
|
+
apiKeyProvided: boolean;
|
|
135
|
+
oidcTokenProvided: boolean;
|
|
136
|
+
message?: string;
|
|
137
|
+
statusCode?: number;
|
|
138
|
+
cause?: unknown;
|
|
139
|
+
}): GatewayAuthenticationError;
|
|
137
140
|
}
|
|
138
141
|
|
|
139
142
|
declare const symbol$4: unique symbol;
|
|
@@ -222,4 +225,4 @@ declare class GatewayResponseError extends GatewayError {
|
|
|
222
225
|
static isInstance(error: unknown): error is GatewayResponseError;
|
|
223
226
|
}
|
|
224
227
|
|
|
225
|
-
export { GatewayAuthenticationError, GatewayError, type GatewayErrorResponse, GatewayInternalServerError, GatewayInvalidRequestError, type GatewayLanguageModelEntry, type GatewayLanguageModelSpecification, type GatewayModelId, GatewayModelNotFoundError, type GatewayProvider, type GatewayProviderSettings, GatewayRateLimitError, GatewayResponseError, createGatewayProvider, gateway };
|
|
228
|
+
export { GatewayAuthenticationError, GatewayError, type GatewayErrorResponse, GatewayInternalServerError, GatewayInvalidRequestError, type GatewayLanguageModelEntry, type GatewayLanguageModelSpecification, type GatewayModelId, GatewayModelNotFoundError, type GatewayProvider, type GatewayProviderSettings, GatewayRateLimitError, GatewayResponseError, createGatewayProvider as createGateway, createGatewayProvider, gateway };
|