@mariozechner/pi-ai 0.46.0 → 0.47.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/dist/constants.d.ts +6 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +14 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +15 -259
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +42 -281
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts +0 -2
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +476 -489
- 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 +2 -1
- package/dist/providers/openai-completions.js.map +1 -1
- package/package.json +1 -1
- package/dist/providers/openai-codex/constants.d.ts +0 -21
- package/dist/providers/openai-codex/constants.d.ts.map +0 -1
- package/dist/providers/openai-codex/constants.js +0 -21
- package/dist/providers/openai-codex/constants.js.map +0 -1
- package/dist/providers/openai-codex/index.d.ts +0 -7
- package/dist/providers/openai-codex/index.d.ts.map +0 -1
- package/dist/providers/openai-codex/index.js +0 -7
- package/dist/providers/openai-codex/index.js.map +0 -1
- package/dist/providers/openai-codex/prompts/codex.d.ts +0 -3
- package/dist/providers/openai-codex/prompts/codex.d.ts.map +0 -1
- package/dist/providers/openai-codex/prompts/codex.js +0 -323
- package/dist/providers/openai-codex/prompts/codex.js.map +0 -1
- package/dist/providers/openai-codex/prompts/pi-codex-bridge.d.ts +0 -7
- package/dist/providers/openai-codex/prompts/pi-codex-bridge.d.ts.map +0 -1
- package/dist/providers/openai-codex/prompts/pi-codex-bridge.js +0 -50
- package/dist/providers/openai-codex/prompts/pi-codex-bridge.js.map +0 -1
- package/dist/providers/openai-codex/prompts/system-prompt.d.ts +0 -10
- package/dist/providers/openai-codex/prompts/system-prompt.d.ts.map +0 -1
- package/dist/providers/openai-codex/prompts/system-prompt.js +0 -15
- package/dist/providers/openai-codex/prompts/system-prompt.js.map +0 -1
- package/dist/providers/openai-codex/request-transformer.d.ts +0 -44
- package/dist/providers/openai-codex/request-transformer.d.ts.map +0 -1
- package/dist/providers/openai-codex/request-transformer.js +0 -99
- package/dist/providers/openai-codex/request-transformer.js.map +0 -1
- package/dist/providers/openai-codex/response-handler.d.ts +0 -19
- package/dist/providers/openai-codex/response-handler.d.ts.map +0 -1
- package/dist/providers/openai-codex/response-handler.js +0 -107
- package/dist/providers/openai-codex/response-handler.js.map +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static Pi instructions for OpenAI Codex.
|
|
3
|
+
* This string is whitelisted by OpenAI and must not change.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PI_STATIC_INSTRUCTIONS = "You are pi, an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files.\n\nPi specific Documentation:\n- Main documentation: pi-internal://README.md\n- Additional docs: pi-internal://docs\n- Examples: pi-internal://examples (extensions, custom tools, SDK)\n- When asked to create: custom models/providers (README.md), extensions (docs/extensions.md, examples/extensions/), themes (docs/theme.md), skills (docs/skills.md), TUI components (docs/tui.md - has copy-paste patterns)\n- Always read the doc, examples, AND follow .md cross-references before implementing\n";
|
|
6
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,qoBAQlC,CAAC","sourcesContent":["/**\n * Static Pi instructions for OpenAI Codex.\n * This string is whitelisted by OpenAI and must not change.\n */\nexport const PI_STATIC_INSTRUCTIONS = `You are pi, an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files.\n\nPi specific Documentation:\n- Main documentation: pi-internal://README.md\n- Additional docs: pi-internal://docs\n- Examples: pi-internal://examples (extensions, custom tools, SDK)\n- When asked to create: custom models/providers (README.md), extensions (docs/extensions.md, examples/extensions/), themes (docs/theme.md), skills (docs/skills.md), TUI components (docs/tui.md - has copy-paste patterns)\n- Always read the doc, examples, AND follow .md cross-references before implementing\n`;\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static Pi instructions for OpenAI Codex.
|
|
3
|
+
* This string is whitelisted by OpenAI and must not change.
|
|
4
|
+
*/
|
|
5
|
+
export const PI_STATIC_INSTRUCTIONS = `You are pi, an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files.
|
|
6
|
+
|
|
7
|
+
Pi specific Documentation:
|
|
8
|
+
- Main documentation: pi-internal://README.md
|
|
9
|
+
- Additional docs: pi-internal://docs
|
|
10
|
+
- Examples: pi-internal://examples (extensions, custom tools, SDK)
|
|
11
|
+
- When asked to create: custom models/providers (README.md), extensions (docs/extensions.md, examples/extensions/), themes (docs/theme.md), skills (docs/skills.md), TUI components (docs/tui.md - has copy-paste patterns)
|
|
12
|
+
- Always read the doc, examples, AND follow .md cross-references before implementing
|
|
13
|
+
`;
|
|
14
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;CAQrC,CAAC","sourcesContent":["/**\n * Static Pi instructions for OpenAI Codex.\n * This string is whitelisted by OpenAI and must not change.\n */\nexport const PI_STATIC_INSTRUCTIONS = `You are pi, an expert coding assistant. You help users with coding tasks by reading files, executing commands, editing code, and writing new files.\n\nPi specific Documentation:\n- Main documentation: pi-internal://README.md\n- Additional docs: pi-internal://docs\n- Examples: pi-internal://examples (extensions, custom tools, SDK)\n- When asked to create: custom models/providers (README.md), extensions (docs/extensions.md, examples/extensions/), themes (docs/theme.md), skills (docs/skills.md), TUI components (docs/tui.md - has copy-paste patterns)\n- Always read the doc, examples, AND follow .md cross-references before implementing\n`;\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
export * from "./constants.js";
|
|
1
2
|
export * from "./models.js";
|
|
2
3
|
export * from "./providers/anthropic.js";
|
|
3
4
|
export * from "./providers/google.js";
|
|
4
5
|
export * from "./providers/google-gemini-cli.js";
|
|
5
6
|
export * from "./providers/google-vertex.js";
|
|
6
|
-
export * from "./providers/openai-codex/index.js";
|
|
7
7
|
export * from "./providers/openai-completions.js";
|
|
8
8
|
export * from "./providers/openai-responses.js";
|
|
9
9
|
export * from "./stream.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,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export * from \"./constants.js\";\nexport * from \"./models.js\";\nexport * from \"./providers/anthropic.js\";\nexport * from \"./providers/google.js\";\nexport * from \"./providers/google-gemini-cli.js\";\nexport * from \"./providers/google-vertex.js\";\n\nexport * from \"./providers/openai-completions.js\";\nexport * from \"./providers/openai-responses.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport * from \"./utils/oauth/index.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
export * from "./constants.js";
|
|
1
2
|
export * from "./models.js";
|
|
2
3
|
export * from "./providers/anthropic.js";
|
|
3
4
|
export * from "./providers/google.js";
|
|
4
5
|
export * from "./providers/google-gemini-cli.js";
|
|
5
6
|
export * from "./providers/google-vertex.js";
|
|
6
|
-
export * from "./providers/openai-codex/index.js";
|
|
7
7
|
export * from "./providers/openai-completions.js";
|
|
8
8
|
export * from "./providers/openai-responses.js";
|
|
9
9
|
export * from "./stream.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC","sourcesContent":["export * from \"./constants.js\";\nexport * from \"./models.js\";\nexport * from \"./providers/anthropic.js\";\nexport * from \"./providers/google.js\";\nexport * from \"./providers/google-gemini-cli.js\";\nexport * from \"./providers/google-vertex.js\";\n\nexport * from \"./providers/openai-completions.js\";\nexport * from \"./providers/openai-responses.js\";\nexport * from \"./stream.js\";\nexport * from \"./types.js\";\nexport * from \"./utils/event-stream.js\";\nexport * from \"./utils/json-parse.js\";\nexport * from \"./utils/oauth/index.js\";\nexport * from \"./utils/overflow.js\";\nexport * from \"./utils/typebox-helpers.js\";\nexport * from \"./utils/validation.js\";\n"]}
|
|
@@ -1853,29 +1853,6 @@ export declare const MODELS: {
|
|
|
1853
1853
|
contextWindow: number;
|
|
1854
1854
|
maxTokens: number;
|
|
1855
1855
|
};
|
|
1856
|
-
readonly "oswe-vscode-prime": {
|
|
1857
|
-
id: string;
|
|
1858
|
-
name: string;
|
|
1859
|
-
api: "openai-responses";
|
|
1860
|
-
provider: string;
|
|
1861
|
-
baseUrl: string;
|
|
1862
|
-
headers: {
|
|
1863
|
-
"User-Agent": string;
|
|
1864
|
-
"Editor-Version": string;
|
|
1865
|
-
"Editor-Plugin-Version": string;
|
|
1866
|
-
"Copilot-Integration-Id": string;
|
|
1867
|
-
};
|
|
1868
|
-
reasoning: true;
|
|
1869
|
-
input: ("image" | "text")[];
|
|
1870
|
-
cost: {
|
|
1871
|
-
input: number;
|
|
1872
|
-
output: number;
|
|
1873
|
-
cacheRead: number;
|
|
1874
|
-
cacheWrite: number;
|
|
1875
|
-
};
|
|
1876
|
-
contextWindow: number;
|
|
1877
|
-
maxTokens: number;
|
|
1878
|
-
};
|
|
1879
1856
|
};
|
|
1880
1857
|
readonly google: {
|
|
1881
1858
|
readonly "gemini-1.5-flash": {
|
|
@@ -4569,23 +4546,6 @@ export declare const MODELS: {
|
|
|
4569
4546
|
contextWindow: number;
|
|
4570
4547
|
maxTokens: number;
|
|
4571
4548
|
};
|
|
4572
|
-
readonly "allenai/olmo-3-7b-instruct": {
|
|
4573
|
-
id: string;
|
|
4574
|
-
name: string;
|
|
4575
|
-
api: "openai-completions";
|
|
4576
|
-
provider: string;
|
|
4577
|
-
baseUrl: string;
|
|
4578
|
-
reasoning: false;
|
|
4579
|
-
input: "text"[];
|
|
4580
|
-
cost: {
|
|
4581
|
-
input: number;
|
|
4582
|
-
output: number;
|
|
4583
|
-
cacheRead: number;
|
|
4584
|
-
cacheWrite: number;
|
|
4585
|
-
};
|
|
4586
|
-
contextWindow: number;
|
|
4587
|
-
maxTokens: number;
|
|
4588
|
-
};
|
|
4589
4549
|
readonly "allenai/olmo-3.1-32b-instruct": {
|
|
4590
4550
|
id: string;
|
|
4591
4551
|
name: string;
|
|
@@ -5351,7 +5311,7 @@ export declare const MODELS: {
|
|
|
5351
5311
|
contextWindow: number;
|
|
5352
5312
|
maxTokens: number;
|
|
5353
5313
|
};
|
|
5354
|
-
readonly "google/gemini-2.5-
|
|
5314
|
+
readonly "google/gemini-2.5-flash-preview-09-2025": {
|
|
5355
5315
|
id: string;
|
|
5356
5316
|
name: string;
|
|
5357
5317
|
api: "openai-completions";
|
|
@@ -5368,7 +5328,7 @@ export declare const MODELS: {
|
|
|
5368
5328
|
contextWindow: number;
|
|
5369
5329
|
maxTokens: number;
|
|
5370
5330
|
};
|
|
5371
|
-
readonly "google/gemini-2.5-pro
|
|
5331
|
+
readonly "google/gemini-2.5-pro": {
|
|
5372
5332
|
id: string;
|
|
5373
5333
|
name: string;
|
|
5374
5334
|
api: "openai-completions";
|
|
@@ -5385,7 +5345,7 @@ export declare const MODELS: {
|
|
|
5385
5345
|
contextWindow: number;
|
|
5386
5346
|
maxTokens: number;
|
|
5387
5347
|
};
|
|
5388
|
-
readonly "google/gemini-2.5-pro-preview
|
|
5348
|
+
readonly "google/gemini-2.5-pro-preview": {
|
|
5389
5349
|
id: string;
|
|
5390
5350
|
name: string;
|
|
5391
5351
|
api: "openai-completions";
|
|
@@ -5402,7 +5362,7 @@ export declare const MODELS: {
|
|
|
5402
5362
|
contextWindow: number;
|
|
5403
5363
|
maxTokens: number;
|
|
5404
5364
|
};
|
|
5405
|
-
readonly "google/gemini-
|
|
5365
|
+
readonly "google/gemini-2.5-pro-preview-05-06": {
|
|
5406
5366
|
id: string;
|
|
5407
5367
|
name: string;
|
|
5408
5368
|
api: "openai-completions";
|
|
@@ -5419,7 +5379,7 @@ export declare const MODELS: {
|
|
|
5419
5379
|
contextWindow: number;
|
|
5420
5380
|
maxTokens: number;
|
|
5421
5381
|
};
|
|
5422
|
-
readonly "google/gemini-3-
|
|
5382
|
+
readonly "google/gemini-3-flash-preview": {
|
|
5423
5383
|
id: string;
|
|
5424
5384
|
name: string;
|
|
5425
5385
|
api: "openai-completions";
|
|
@@ -5436,13 +5396,13 @@ export declare const MODELS: {
|
|
|
5436
5396
|
contextWindow: number;
|
|
5437
5397
|
maxTokens: number;
|
|
5438
5398
|
};
|
|
5439
|
-
readonly "google/
|
|
5399
|
+
readonly "google/gemini-3-pro-preview": {
|
|
5440
5400
|
id: string;
|
|
5441
5401
|
name: string;
|
|
5442
5402
|
api: "openai-completions";
|
|
5443
5403
|
provider: string;
|
|
5444
5404
|
baseUrl: string;
|
|
5445
|
-
reasoning:
|
|
5405
|
+
reasoning: true;
|
|
5446
5406
|
input: ("image" | "text")[];
|
|
5447
5407
|
cost: {
|
|
5448
5408
|
input: number;
|
|
@@ -5453,7 +5413,7 @@ export declare const MODELS: {
|
|
|
5453
5413
|
contextWindow: number;
|
|
5454
5414
|
maxTokens: number;
|
|
5455
5415
|
};
|
|
5456
|
-
readonly "google/gemma-3-27b-it
|
|
5416
|
+
readonly "google/gemma-3-27b-it": {
|
|
5457
5417
|
id: string;
|
|
5458
5418
|
name: string;
|
|
5459
5419
|
api: "openai-completions";
|
|
@@ -5470,14 +5430,14 @@ export declare const MODELS: {
|
|
|
5470
5430
|
contextWindow: number;
|
|
5471
5431
|
maxTokens: number;
|
|
5472
5432
|
};
|
|
5473
|
-
readonly "
|
|
5433
|
+
readonly "google/gemma-3-27b-it:free": {
|
|
5474
5434
|
id: string;
|
|
5475
5435
|
name: string;
|
|
5476
5436
|
api: "openai-completions";
|
|
5477
5437
|
provider: string;
|
|
5478
5438
|
baseUrl: string;
|
|
5479
5439
|
reasoning: false;
|
|
5480
|
-
input: "text"[];
|
|
5440
|
+
input: ("image" | "text")[];
|
|
5481
5441
|
cost: {
|
|
5482
5442
|
input: number;
|
|
5483
5443
|
output: number;
|
|
@@ -5487,7 +5447,7 @@ export declare const MODELS: {
|
|
|
5487
5447
|
contextWindow: number;
|
|
5488
5448
|
maxTokens: number;
|
|
5489
5449
|
};
|
|
5490
|
-
readonly "inception/mercury
|
|
5450
|
+
readonly "inception/mercury": {
|
|
5491
5451
|
id: string;
|
|
5492
5452
|
name: string;
|
|
5493
5453
|
api: "openai-completions";
|
|
@@ -5504,7 +5464,7 @@ export declare const MODELS: {
|
|
|
5504
5464
|
contextWindow: number;
|
|
5505
5465
|
maxTokens: number;
|
|
5506
5466
|
};
|
|
5507
|
-
readonly "
|
|
5467
|
+
readonly "inception/mercury-coder": {
|
|
5508
5468
|
id: string;
|
|
5509
5469
|
name: string;
|
|
5510
5470
|
api: "openai-completions";
|
|
@@ -5521,7 +5481,7 @@ export declare const MODELS: {
|
|
|
5521
5481
|
contextWindow: number;
|
|
5522
5482
|
maxTokens: number;
|
|
5523
5483
|
};
|
|
5524
|
-
readonly "
|
|
5484
|
+
readonly "kwaipilot/kat-coder-pro": {
|
|
5525
5485
|
id: string;
|
|
5526
5486
|
name: string;
|
|
5527
5487
|
api: "openai-completions";
|
|
@@ -5895,40 +5855,6 @@ export declare const MODELS: {
|
|
|
5895
5855
|
contextWindow: number;
|
|
5896
5856
|
maxTokens: number;
|
|
5897
5857
|
};
|
|
5898
|
-
readonly "mistralai/mistral-7b-instruct": {
|
|
5899
|
-
id: string;
|
|
5900
|
-
name: string;
|
|
5901
|
-
api: "openai-completions";
|
|
5902
|
-
provider: string;
|
|
5903
|
-
baseUrl: string;
|
|
5904
|
-
reasoning: false;
|
|
5905
|
-
input: "text"[];
|
|
5906
|
-
cost: {
|
|
5907
|
-
input: number;
|
|
5908
|
-
output: number;
|
|
5909
|
-
cacheRead: number;
|
|
5910
|
-
cacheWrite: number;
|
|
5911
|
-
};
|
|
5912
|
-
contextWindow: number;
|
|
5913
|
-
maxTokens: number;
|
|
5914
|
-
};
|
|
5915
|
-
readonly "mistralai/mistral-7b-instruct:free": {
|
|
5916
|
-
id: string;
|
|
5917
|
-
name: string;
|
|
5918
|
-
api: "openai-completions";
|
|
5919
|
-
provider: string;
|
|
5920
|
-
baseUrl: string;
|
|
5921
|
-
reasoning: false;
|
|
5922
|
-
input: "text"[];
|
|
5923
|
-
cost: {
|
|
5924
|
-
input: number;
|
|
5925
|
-
output: number;
|
|
5926
|
-
cacheRead: number;
|
|
5927
|
-
cacheWrite: number;
|
|
5928
|
-
};
|
|
5929
|
-
contextWindow: number;
|
|
5930
|
-
maxTokens: number;
|
|
5931
|
-
};
|
|
5932
5858
|
readonly "mistralai/mistral-large": {
|
|
5933
5859
|
id: string;
|
|
5934
5860
|
name: string;
|
|
@@ -6490,23 +6416,6 @@ export declare const MODELS: {
|
|
|
6490
6416
|
contextWindow: number;
|
|
6491
6417
|
maxTokens: number;
|
|
6492
6418
|
};
|
|
6493
|
-
readonly "openai/codex-mini": {
|
|
6494
|
-
id: string;
|
|
6495
|
-
name: string;
|
|
6496
|
-
api: "openai-completions";
|
|
6497
|
-
provider: string;
|
|
6498
|
-
baseUrl: string;
|
|
6499
|
-
reasoning: true;
|
|
6500
|
-
input: ("image" | "text")[];
|
|
6501
|
-
cost: {
|
|
6502
|
-
input: number;
|
|
6503
|
-
output: number;
|
|
6504
|
-
cacheRead: number;
|
|
6505
|
-
cacheWrite: number;
|
|
6506
|
-
};
|
|
6507
|
-
contextWindow: number;
|
|
6508
|
-
maxTokens: number;
|
|
6509
|
-
};
|
|
6510
6419
|
readonly "openai/gpt-3.5-turbo": {
|
|
6511
6420
|
id: string;
|
|
6512
6421
|
name: string;
|
|
@@ -7425,108 +7334,6 @@ export declare const MODELS: {
|
|
|
7425
7334
|
contextWindow: number;
|
|
7426
7335
|
maxTokens: number;
|
|
7427
7336
|
};
|
|
7428
|
-
readonly "qwen/qwen-max": {
|
|
7429
|
-
id: string;
|
|
7430
|
-
name: string;
|
|
7431
|
-
api: "openai-completions";
|
|
7432
|
-
provider: string;
|
|
7433
|
-
baseUrl: string;
|
|
7434
|
-
reasoning: false;
|
|
7435
|
-
input: "text"[];
|
|
7436
|
-
cost: {
|
|
7437
|
-
input: number;
|
|
7438
|
-
output: number;
|
|
7439
|
-
cacheRead: number;
|
|
7440
|
-
cacheWrite: number;
|
|
7441
|
-
};
|
|
7442
|
-
contextWindow: number;
|
|
7443
|
-
maxTokens: number;
|
|
7444
|
-
};
|
|
7445
|
-
readonly "qwen/qwen-plus": {
|
|
7446
|
-
id: string;
|
|
7447
|
-
name: string;
|
|
7448
|
-
api: "openai-completions";
|
|
7449
|
-
provider: string;
|
|
7450
|
-
baseUrl: string;
|
|
7451
|
-
reasoning: false;
|
|
7452
|
-
input: "text"[];
|
|
7453
|
-
cost: {
|
|
7454
|
-
input: number;
|
|
7455
|
-
output: number;
|
|
7456
|
-
cacheRead: number;
|
|
7457
|
-
cacheWrite: number;
|
|
7458
|
-
};
|
|
7459
|
-
contextWindow: number;
|
|
7460
|
-
maxTokens: number;
|
|
7461
|
-
};
|
|
7462
|
-
readonly "qwen/qwen-plus-2025-07-28": {
|
|
7463
|
-
id: string;
|
|
7464
|
-
name: string;
|
|
7465
|
-
api: "openai-completions";
|
|
7466
|
-
provider: string;
|
|
7467
|
-
baseUrl: string;
|
|
7468
|
-
reasoning: false;
|
|
7469
|
-
input: "text"[];
|
|
7470
|
-
cost: {
|
|
7471
|
-
input: number;
|
|
7472
|
-
output: number;
|
|
7473
|
-
cacheRead: number;
|
|
7474
|
-
cacheWrite: number;
|
|
7475
|
-
};
|
|
7476
|
-
contextWindow: number;
|
|
7477
|
-
maxTokens: number;
|
|
7478
|
-
};
|
|
7479
|
-
readonly "qwen/qwen-plus-2025-07-28:thinking": {
|
|
7480
|
-
id: string;
|
|
7481
|
-
name: string;
|
|
7482
|
-
api: "openai-completions";
|
|
7483
|
-
provider: string;
|
|
7484
|
-
baseUrl: string;
|
|
7485
|
-
reasoning: true;
|
|
7486
|
-
input: "text"[];
|
|
7487
|
-
cost: {
|
|
7488
|
-
input: number;
|
|
7489
|
-
output: number;
|
|
7490
|
-
cacheRead: number;
|
|
7491
|
-
cacheWrite: number;
|
|
7492
|
-
};
|
|
7493
|
-
contextWindow: number;
|
|
7494
|
-
maxTokens: number;
|
|
7495
|
-
};
|
|
7496
|
-
readonly "qwen/qwen-turbo": {
|
|
7497
|
-
id: string;
|
|
7498
|
-
name: string;
|
|
7499
|
-
api: "openai-completions";
|
|
7500
|
-
provider: string;
|
|
7501
|
-
baseUrl: string;
|
|
7502
|
-
reasoning: false;
|
|
7503
|
-
input: "text"[];
|
|
7504
|
-
cost: {
|
|
7505
|
-
input: number;
|
|
7506
|
-
output: number;
|
|
7507
|
-
cacheRead: number;
|
|
7508
|
-
cacheWrite: number;
|
|
7509
|
-
};
|
|
7510
|
-
contextWindow: number;
|
|
7511
|
-
maxTokens: number;
|
|
7512
|
-
};
|
|
7513
|
-
readonly "qwen/qwen-vl-max": {
|
|
7514
|
-
id: string;
|
|
7515
|
-
name: string;
|
|
7516
|
-
api: "openai-completions";
|
|
7517
|
-
provider: string;
|
|
7518
|
-
baseUrl: string;
|
|
7519
|
-
reasoning: false;
|
|
7520
|
-
input: ("image" | "text")[];
|
|
7521
|
-
cost: {
|
|
7522
|
-
input: number;
|
|
7523
|
-
output: number;
|
|
7524
|
-
cacheRead: number;
|
|
7525
|
-
cacheWrite: number;
|
|
7526
|
-
};
|
|
7527
|
-
contextWindow: number;
|
|
7528
|
-
maxTokens: number;
|
|
7529
|
-
};
|
|
7530
7337
|
readonly "qwen/qwen3-14b": {
|
|
7531
7338
|
id: string;
|
|
7532
7339
|
name: string;
|
|
@@ -7731,40 +7538,6 @@ export declare const MODELS: {
|
|
|
7731
7538
|
contextWindow: number;
|
|
7732
7539
|
maxTokens: number;
|
|
7733
7540
|
};
|
|
7734
|
-
readonly "qwen/qwen3-coder-flash": {
|
|
7735
|
-
id: string;
|
|
7736
|
-
name: string;
|
|
7737
|
-
api: "openai-completions";
|
|
7738
|
-
provider: string;
|
|
7739
|
-
baseUrl: string;
|
|
7740
|
-
reasoning: false;
|
|
7741
|
-
input: "text"[];
|
|
7742
|
-
cost: {
|
|
7743
|
-
input: number;
|
|
7744
|
-
output: number;
|
|
7745
|
-
cacheRead: number;
|
|
7746
|
-
cacheWrite: number;
|
|
7747
|
-
};
|
|
7748
|
-
contextWindow: number;
|
|
7749
|
-
maxTokens: number;
|
|
7750
|
-
};
|
|
7751
|
-
readonly "qwen/qwen3-coder-plus": {
|
|
7752
|
-
id: string;
|
|
7753
|
-
name: string;
|
|
7754
|
-
api: "openai-completions";
|
|
7755
|
-
provider: string;
|
|
7756
|
-
baseUrl: string;
|
|
7757
|
-
reasoning: false;
|
|
7758
|
-
input: "text"[];
|
|
7759
|
-
cost: {
|
|
7760
|
-
input: number;
|
|
7761
|
-
output: number;
|
|
7762
|
-
cacheRead: number;
|
|
7763
|
-
cacheWrite: number;
|
|
7764
|
-
};
|
|
7765
|
-
contextWindow: number;
|
|
7766
|
-
maxTokens: number;
|
|
7767
|
-
};
|
|
7768
7541
|
readonly "qwen/qwen3-coder:exacto": {
|
|
7769
7542
|
id: string;
|
|
7770
7543
|
name: string;
|
|
@@ -7799,7 +7572,7 @@ export declare const MODELS: {
|
|
|
7799
7572
|
contextWindow: number;
|
|
7800
7573
|
maxTokens: number;
|
|
7801
7574
|
};
|
|
7802
|
-
readonly "qwen/qwen3-
|
|
7575
|
+
readonly "qwen/qwen3-next-80b-a3b-instruct": {
|
|
7803
7576
|
id: string;
|
|
7804
7577
|
name: string;
|
|
7805
7578
|
api: "openai-completions";
|
|
@@ -7816,7 +7589,7 @@ export declare const MODELS: {
|
|
|
7816
7589
|
contextWindow: number;
|
|
7817
7590
|
maxTokens: number;
|
|
7818
7591
|
};
|
|
7819
|
-
readonly "qwen/qwen3-next-80b-a3b-instruct": {
|
|
7592
|
+
readonly "qwen/qwen3-next-80b-a3b-instruct:free": {
|
|
7820
7593
|
id: string;
|
|
7821
7594
|
name: string;
|
|
7822
7595
|
api: "openai-completions";
|
|
@@ -7935,23 +7708,6 @@ export declare const MODELS: {
|
|
|
7935
7708
|
contextWindow: number;
|
|
7936
7709
|
maxTokens: number;
|
|
7937
7710
|
};
|
|
7938
|
-
readonly "qwen/qwen3-vl-8b-thinking": {
|
|
7939
|
-
id: string;
|
|
7940
|
-
name: string;
|
|
7941
|
-
api: "openai-completions";
|
|
7942
|
-
provider: string;
|
|
7943
|
-
baseUrl: string;
|
|
7944
|
-
reasoning: true;
|
|
7945
|
-
input: ("image" | "text")[];
|
|
7946
|
-
cost: {
|
|
7947
|
-
input: number;
|
|
7948
|
-
output: number;
|
|
7949
|
-
cacheRead: number;
|
|
7950
|
-
cacheWrite: number;
|
|
7951
|
-
};
|
|
7952
|
-
contextWindow: number;
|
|
7953
|
-
maxTokens: number;
|
|
7954
|
-
};
|
|
7955
7711
|
readonly "qwen/qwq-32b": {
|
|
7956
7712
|
id: string;
|
|
7957
7713
|
name: string;
|