@mariozechner/pi-ai 0.73.0 → 0.73.1
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/README.md +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +60 -97
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +126 -161
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +1 -1
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +132 -115
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses-shared.d.ts.map +1 -1
- package/dist/providers/openai-responses-shared.js +14 -1
- package/dist/providers/openai-responses-shared.js.map +1 -1
- package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/dist/utils/oauth/openai-codex.js +25 -14
- package/dist/utils/oauth/openai-codex.js.map +1 -1
- package/dist/utils/oauth/types.d.ts +10 -0
- package/dist/utils/oauth/types.d.ts.map +1 -1
- package/dist/utils/oauth/types.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -383,6 +383,8 @@ All streaming events emitted during assistant message generation:
|
|
|
383
383
|
| `done` | Stream complete | `reason`: Stop reason ("stop", "length", "toolUse"), `message`: Final assistant message |
|
|
384
384
|
| `error` | Error occurred | `reason`: Error type ("error" or "aborted"), `error`: AssistantMessage with partial content |
|
|
385
385
|
|
|
386
|
+
Streaming events for different content blocks are not guaranteed to be contiguous. Providers may emit deltas for text, thinking, and tool calls in the same upstream chunk, and pi may surface corresponding events interleaved, for example `text_start`, `text_delta`, `toolcall_start`, `text_delta`, `toolcall_delta`. Consumers must use `contentIndex` to associate each delta/end event with its block and must not assume that a block's `*_start`/`*_delta`/`*_end` sequence is uninterrupted by events for other blocks.
|
|
387
|
+
|
|
386
388
|
## Image Input
|
|
387
389
|
|
|
388
390
|
Models with vision capabilities can process images. You can check if a model supports images via the `input` property. If you pass images to a non-vision model, they are silently ignored.
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export * from "./types.js";
|
|
|
21
21
|
export * from "./utils/diagnostics.js";
|
|
22
22
|
export * from "./utils/event-stream.js";
|
|
23
23
|
export * from "./utils/json-parse.js";
|
|
24
|
-
export type { OAuthAuthInfo, OAuthCredentials, OAuthLoginCallbacks, OAuthPrompt, OAuthProvider, OAuthProviderId, OAuthProviderInfo, OAuthProviderInterface, } from "./utils/oauth/types.js";
|
|
24
|
+
export type { OAuthAuthInfo, OAuthCredentials, OAuthLoginCallbacks, OAuthPrompt, OAuthProvider, OAuthProviderId, OAuthProviderInfo, OAuthProviderInterface, OAuthSelectOption, OAuthSelectPrompt, } from "./utils/oauth/types.js";
|
|
25
25
|
export * from "./utils/overflow.js";
|
|
26
26
|
export * from "./utils/typebox-helpers.js";
|
|
27
27
|
export * from "./utils/validation.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5G,YAAY,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACzF,cAAc,qBAAqB,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EACX,2BAA2B,EAC3B,8BAA8B,GAC9B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,YAAY,EACX,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC5G,YAAY,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACzF,cAAc,qBAAqB,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EACX,2BAA2B,EAC3B,8BAA8B,GAC9B,MAAM,uCAAuC,CAAC;AAC/C,YAAY,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,YAAY,EACX,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GACjB,MAAM,wBAAwB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export type { Static, TSchema } from \"typebox\";\nexport { Type } from \"typebox\";\n\nexport * from \"./api-registry.js\";\nexport * from \"./env-api-keys.js\";\nexport * from \"./models.js\";\nexport type { BedrockOptions, BedrockThinkingDisplay } from \"./providers/amazon-bedrock.js\";\nexport type { AnthropicEffort, AnthropicOptions, AnthropicThinkingDisplay } from \"./providers/anthropic.js\";\nexport type { AzureOpenAIResponsesOptions } from \"./providers/azure-openai-responses.js\";\nexport * from \"./providers/faux.js\";\nexport type { GoogleOptions } from \"./providers/google.js\";\nexport type { GoogleThinkingLevel } from \"./providers/google-shared.js\";\nexport type { GoogleVertexOptions } from \"./providers/google-vertex.js\";\nexport type { MistralOptions } from \"./providers/mistral.js\";\nexport type {\n\tOpenAICodexResponsesOptions,\n\tOpenAICodexWebSocketDebugStats,\n} from \"./providers/openai-codex-responses.js\";\nexport type { OpenAICompletionsOptions } from \"./providers/openai-completions.js\";\nexport type { OpenAIResponsesOptions } from \"./providers/openai-responses.js\";\nexport * from \"./providers/register-builtins.js\";\nexport * from \"./session-resources.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/diagnostics.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport type {\n\tOAuthAuthInfo,\n\tOAuthCredentials,\n\tOAuthLoginCallbacks,\n\tOAuthPrompt,\n\tOAuthProvider,\n\tOAuthProviderId,\n\tOAuthProviderInfo,\n\tOAuthProviderInterface,\n\tOAuthSelectOption,\n\tOAuthSelectPrompt,\n} from \"./utils/oauth/types.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAI5B,cAAc,qBAAqB,CAAC;AAWpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAI5B,cAAc,qBAAqB,CAAC;AAWpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAatC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export type { Static, TSchema } from \"typebox\";\nexport { Type } from \"typebox\";\n\nexport * from \"./api-registry.js\";\nexport * from \"./env-api-keys.js\";\nexport * from \"./models.js\";\nexport type { BedrockOptions, BedrockThinkingDisplay } from \"./providers/amazon-bedrock.js\";\nexport type { AnthropicEffort, AnthropicOptions, AnthropicThinkingDisplay } from \"./providers/anthropic.js\";\nexport type { AzureOpenAIResponsesOptions } from \"./providers/azure-openai-responses.js\";\nexport * from \"./providers/faux.js\";\nexport type { GoogleOptions } from \"./providers/google.js\";\nexport type { GoogleThinkingLevel } from \"./providers/google-shared.js\";\nexport type { GoogleVertexOptions } from \"./providers/google-vertex.js\";\nexport type { MistralOptions } from \"./providers/mistral.js\";\nexport type {\n\tOpenAICodexResponsesOptions,\n\tOpenAICodexWebSocketDebugStats,\n} from \"./providers/openai-codex-responses.js\";\nexport type { OpenAICompletionsOptions } from \"./providers/openai-completions.js\";\nexport type { OpenAIResponsesOptions } from \"./providers/openai-responses.js\";\nexport * from \"./providers/register-builtins.js\";\nexport * from \"./session-resources.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/diagnostics.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport type {\n\tOAuthAuthInfo,\n\tOAuthCredentials,\n\tOAuthLoginCallbacks,\n\tOAuthPrompt,\n\tOAuthProvider,\n\tOAuthProviderId,\n\tOAuthProviderInfo,\n\tOAuthProviderInterface,\n\tOAuthSelectOption,\n\tOAuthSelectPrompt,\n} from \"./utils/oauth/types.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
|
|
@@ -6263,26 +6263,6 @@ export declare const MODELS: {
|
|
|
6263
6263
|
};
|
|
6264
6264
|
};
|
|
6265
6265
|
readonly "kimi-coding": {
|
|
6266
|
-
readonly k2p6: {
|
|
6267
|
-
id: string;
|
|
6268
|
-
name: string;
|
|
6269
|
-
api: "anthropic-messages";
|
|
6270
|
-
provider: string;
|
|
6271
|
-
baseUrl: string;
|
|
6272
|
-
headers: {
|
|
6273
|
-
"User-Agent": string;
|
|
6274
|
-
};
|
|
6275
|
-
reasoning: true;
|
|
6276
|
-
input: ("image" | "text")[];
|
|
6277
|
-
cost: {
|
|
6278
|
-
input: number;
|
|
6279
|
-
output: number;
|
|
6280
|
-
cacheRead: number;
|
|
6281
|
-
cacheWrite: number;
|
|
6282
|
-
};
|
|
6283
|
-
contextWindow: number;
|
|
6284
|
-
maxTokens: number;
|
|
6285
|
-
};
|
|
6286
6266
|
readonly "kimi-for-coding": {
|
|
6287
6267
|
id: string;
|
|
6288
6268
|
name: string;
|
|
@@ -8225,7 +8205,7 @@ export declare const MODELS: {
|
|
|
8225
8205
|
readonly "big-pickle": {
|
|
8226
8206
|
id: string;
|
|
8227
8207
|
name: string;
|
|
8228
|
-
api: "
|
|
8208
|
+
api: "openai-completions";
|
|
8229
8209
|
provider: string;
|
|
8230
8210
|
baseUrl: string;
|
|
8231
8211
|
reasoning: true;
|
|
@@ -9067,40 +9047,6 @@ export declare const MODELS: {
|
|
|
9067
9047
|
contextWindow: number;
|
|
9068
9048
|
maxTokens: number;
|
|
9069
9049
|
};
|
|
9070
|
-
readonly "mimo-v2-omni": {
|
|
9071
|
-
id: string;
|
|
9072
|
-
name: string;
|
|
9073
|
-
api: "openai-completions";
|
|
9074
|
-
provider: string;
|
|
9075
|
-
baseUrl: string;
|
|
9076
|
-
reasoning: true;
|
|
9077
|
-
input: ("image" | "text")[];
|
|
9078
|
-
cost: {
|
|
9079
|
-
input: number;
|
|
9080
|
-
output: number;
|
|
9081
|
-
cacheRead: number;
|
|
9082
|
-
cacheWrite: number;
|
|
9083
|
-
};
|
|
9084
|
-
contextWindow: number;
|
|
9085
|
-
maxTokens: number;
|
|
9086
|
-
};
|
|
9087
|
-
readonly "mimo-v2-pro": {
|
|
9088
|
-
id: string;
|
|
9089
|
-
name: string;
|
|
9090
|
-
api: "openai-completions";
|
|
9091
|
-
provider: string;
|
|
9092
|
-
baseUrl: string;
|
|
9093
|
-
reasoning: true;
|
|
9094
|
-
input: "text"[];
|
|
9095
|
-
cost: {
|
|
9096
|
-
input: number;
|
|
9097
|
-
output: number;
|
|
9098
|
-
cacheRead: number;
|
|
9099
|
-
cacheWrite: number;
|
|
9100
|
-
};
|
|
9101
|
-
contextWindow: number;
|
|
9102
|
-
maxTokens: number;
|
|
9103
|
-
};
|
|
9104
9050
|
readonly "mimo-v2.5": {
|
|
9105
9051
|
id: string;
|
|
9106
9052
|
name: string;
|
|
@@ -9245,23 +9191,6 @@ export declare const MODELS: {
|
|
|
9245
9191
|
contextWindow: number;
|
|
9246
9192
|
maxTokens: number;
|
|
9247
9193
|
};
|
|
9248
|
-
readonly "allenai/olmo-3.1-32b-instruct": {
|
|
9249
|
-
id: string;
|
|
9250
|
-
name: string;
|
|
9251
|
-
api: "openai-completions";
|
|
9252
|
-
provider: string;
|
|
9253
|
-
baseUrl: string;
|
|
9254
|
-
reasoning: false;
|
|
9255
|
-
input: "text"[];
|
|
9256
|
-
cost: {
|
|
9257
|
-
input: number;
|
|
9258
|
-
output: number;
|
|
9259
|
-
cacheRead: number;
|
|
9260
|
-
cacheWrite: number;
|
|
9261
|
-
};
|
|
9262
|
-
contextWindow: number;
|
|
9263
|
-
maxTokens: number;
|
|
9264
|
-
};
|
|
9265
9194
|
readonly "amazon/nova-2-lite-v1": {
|
|
9266
9195
|
id: string;
|
|
9267
9196
|
name: string;
|
|
@@ -9679,6 +9608,23 @@ export declare const MODELS: {
|
|
|
9679
9608
|
contextWindow: number;
|
|
9680
9609
|
maxTokens: number;
|
|
9681
9610
|
};
|
|
9611
|
+
readonly "baidu/cobuddy:free": {
|
|
9612
|
+
id: string;
|
|
9613
|
+
name: string;
|
|
9614
|
+
api: "openai-completions";
|
|
9615
|
+
provider: string;
|
|
9616
|
+
baseUrl: string;
|
|
9617
|
+
reasoning: true;
|
|
9618
|
+
input: "text"[];
|
|
9619
|
+
cost: {
|
|
9620
|
+
input: number;
|
|
9621
|
+
output: number;
|
|
9622
|
+
cacheRead: number;
|
|
9623
|
+
cacheWrite: number;
|
|
9624
|
+
};
|
|
9625
|
+
contextWindow: number;
|
|
9626
|
+
maxTokens: number;
|
|
9627
|
+
};
|
|
9682
9628
|
readonly "baidu/ernie-4.5-21b-a3b": {
|
|
9683
9629
|
id: string;
|
|
9684
9630
|
name: string;
|
|
@@ -10415,23 +10361,6 @@ export declare const MODELS: {
|
|
|
10415
10361
|
contextWindow: number;
|
|
10416
10362
|
maxTokens: number;
|
|
10417
10363
|
};
|
|
10418
|
-
readonly "meta-llama/llama-3-8b-instruct": {
|
|
10419
|
-
id: string;
|
|
10420
|
-
name: string;
|
|
10421
|
-
api: "openai-completions";
|
|
10422
|
-
provider: string;
|
|
10423
|
-
baseUrl: string;
|
|
10424
|
-
reasoning: false;
|
|
10425
|
-
input: "text"[];
|
|
10426
|
-
cost: {
|
|
10427
|
-
input: number;
|
|
10428
|
-
output: number;
|
|
10429
|
-
cacheRead: number;
|
|
10430
|
-
cacheWrite: number;
|
|
10431
|
-
};
|
|
10432
|
-
contextWindow: number;
|
|
10433
|
-
maxTokens: number;
|
|
10434
|
-
};
|
|
10435
10364
|
readonly "meta-llama/llama-3.1-70b-instruct": {
|
|
10436
10365
|
id: string;
|
|
10437
10366
|
name: string;
|
|
@@ -10823,6 +10752,23 @@ export declare const MODELS: {
|
|
|
10823
10752
|
contextWindow: number;
|
|
10824
10753
|
maxTokens: number;
|
|
10825
10754
|
};
|
|
10755
|
+
readonly "mistralai/mistral-medium-3-5": {
|
|
10756
|
+
id: string;
|
|
10757
|
+
name: string;
|
|
10758
|
+
api: "openai-completions";
|
|
10759
|
+
provider: string;
|
|
10760
|
+
baseUrl: string;
|
|
10761
|
+
reasoning: true;
|
|
10762
|
+
input: ("image" | "text")[];
|
|
10763
|
+
cost: {
|
|
10764
|
+
input: number;
|
|
10765
|
+
output: number;
|
|
10766
|
+
cacheRead: number;
|
|
10767
|
+
cacheWrite: number;
|
|
10768
|
+
};
|
|
10769
|
+
contextWindow: number;
|
|
10770
|
+
maxTokens: number;
|
|
10771
|
+
};
|
|
10826
10772
|
readonly "mistralai/mistral-medium-3.1": {
|
|
10827
10773
|
id: string;
|
|
10828
10774
|
name: string;
|
|
@@ -11998,6 +11944,23 @@ export declare const MODELS: {
|
|
|
11998
11944
|
contextWindow: number;
|
|
11999
11945
|
maxTokens: number;
|
|
12000
11946
|
};
|
|
11947
|
+
readonly "openai/gpt-chat-latest": {
|
|
11948
|
+
id: string;
|
|
11949
|
+
name: string;
|
|
11950
|
+
api: "openai-completions";
|
|
11951
|
+
provider: string;
|
|
11952
|
+
baseUrl: string;
|
|
11953
|
+
reasoning: false;
|
|
11954
|
+
input: ("image" | "text")[];
|
|
11955
|
+
cost: {
|
|
11956
|
+
input: number;
|
|
11957
|
+
output: number;
|
|
11958
|
+
cacheRead: number;
|
|
11959
|
+
cacheWrite: number;
|
|
11960
|
+
};
|
|
11961
|
+
contextWindow: number;
|
|
11962
|
+
maxTokens: number;
|
|
11963
|
+
};
|
|
12001
11964
|
readonly "openai/gpt-oss-120b": {
|
|
12002
11965
|
id: string;
|
|
12003
11966
|
name: string;
|
|
@@ -17221,7 +17184,7 @@ export declare const MODELS: {
|
|
|
17221
17184
|
provider: string;
|
|
17222
17185
|
baseUrl: string;
|
|
17223
17186
|
reasoning: true;
|
|
17224
|
-
input: "text"[];
|
|
17187
|
+
input: ("image" | "text")[];
|
|
17225
17188
|
cost: {
|
|
17226
17189
|
input: number;
|
|
17227
17190
|
output: number;
|
|
@@ -17238,7 +17201,7 @@ export declare const MODELS: {
|
|
|
17238
17201
|
provider: string;
|
|
17239
17202
|
baseUrl: string;
|
|
17240
17203
|
reasoning: true;
|
|
17241
|
-
input:
|
|
17204
|
+
input: "text"[];
|
|
17242
17205
|
cost: {
|
|
17243
17206
|
input: number;
|
|
17244
17207
|
output: number;
|
|
@@ -17308,7 +17271,7 @@ export declare const MODELS: {
|
|
|
17308
17271
|
provider: string;
|
|
17309
17272
|
baseUrl: string;
|
|
17310
17273
|
reasoning: true;
|
|
17311
|
-
input: "text"[];
|
|
17274
|
+
input: ("image" | "text")[];
|
|
17312
17275
|
cost: {
|
|
17313
17276
|
input: number;
|
|
17314
17277
|
output: number;
|
|
@@ -17325,7 +17288,7 @@ export declare const MODELS: {
|
|
|
17325
17288
|
provider: string;
|
|
17326
17289
|
baseUrl: string;
|
|
17327
17290
|
reasoning: true;
|
|
17328
|
-
input:
|
|
17291
|
+
input: "text"[];
|
|
17329
17292
|
cost: {
|
|
17330
17293
|
input: number;
|
|
17331
17294
|
output: number;
|
|
@@ -17395,7 +17358,7 @@ export declare const MODELS: {
|
|
|
17395
17358
|
provider: string;
|
|
17396
17359
|
baseUrl: string;
|
|
17397
17360
|
reasoning: true;
|
|
17398
|
-
input: "text"[];
|
|
17361
|
+
input: ("image" | "text")[];
|
|
17399
17362
|
cost: {
|
|
17400
17363
|
input: number;
|
|
17401
17364
|
output: number;
|
|
@@ -17412,7 +17375,7 @@ export declare const MODELS: {
|
|
|
17412
17375
|
provider: string;
|
|
17413
17376
|
baseUrl: string;
|
|
17414
17377
|
reasoning: true;
|
|
17415
|
-
input:
|
|
17378
|
+
input: "text"[];
|
|
17416
17379
|
cost: {
|
|
17417
17380
|
input: number;
|
|
17418
17381
|
output: number;
|
|
@@ -17482,7 +17445,7 @@ export declare const MODELS: {
|
|
|
17482
17445
|
provider: string;
|
|
17483
17446
|
baseUrl: string;
|
|
17484
17447
|
reasoning: true;
|
|
17485
|
-
input: "text"[];
|
|
17448
|
+
input: ("image" | "text")[];
|
|
17486
17449
|
cost: {
|
|
17487
17450
|
input: number;
|
|
17488
17451
|
output: number;
|
|
@@ -17499,7 +17462,7 @@ export declare const MODELS: {
|
|
|
17499
17462
|
provider: string;
|
|
17500
17463
|
baseUrl: string;
|
|
17501
17464
|
reasoning: true;
|
|
17502
|
-
input:
|
|
17465
|
+
input: "text"[];
|
|
17503
17466
|
cost: {
|
|
17504
17467
|
input: number;
|
|
17505
17468
|
output: number;
|