@mariozechner/pi-ai 0.25.1 → 0.25.3
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/models.generated.d.ts +38 -4
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +55 -21
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/google-gemini-cli.d.ts +11 -0
- package/dist/providers/google-gemini-cli.d.ts.map +1 -1
- package/dist/providers/google-gemini-cli.js +5 -1
- package/dist/providers/google-gemini-cli.js.map +1 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +35 -1
- package/dist/stream.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -3222,7 +3222,7 @@ export const MODELS = {
|
|
|
3222
3222
|
cost: {
|
|
3223
3223
|
input: 0.24,
|
|
3224
3224
|
output: 0.38,
|
|
3225
|
-
cacheRead: 0.
|
|
3225
|
+
cacheRead: 0.02,
|
|
3226
3226
|
cacheWrite: 0,
|
|
3227
3227
|
},
|
|
3228
3228
|
contextWindow: 163840,
|
|
@@ -6016,9 +6016,9 @@ export const MODELS = {
|
|
|
6016
6016
|
contextWindow: 32768,
|
|
6017
6017
|
maxTokens: 4096,
|
|
6018
6018
|
},
|
|
6019
|
-
"anthropic/claude-3.5-haiku": {
|
|
6020
|
-
id: "anthropic/claude-3.5-haiku",
|
|
6021
|
-
name: "Anthropic: Claude 3.5 Haiku",
|
|
6019
|
+
"anthropic/claude-3.5-haiku-20241022": {
|
|
6020
|
+
id: "anthropic/claude-3.5-haiku-20241022",
|
|
6021
|
+
name: "Anthropic: Claude 3.5 Haiku (2024-10-22)",
|
|
6022
6022
|
api: "openai-completions",
|
|
6023
6023
|
provider: "openrouter",
|
|
6024
6024
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
@@ -6033,9 +6033,9 @@ export const MODELS = {
|
|
|
6033
6033
|
contextWindow: 200000,
|
|
6034
6034
|
maxTokens: 8192,
|
|
6035
6035
|
},
|
|
6036
|
-
"anthropic/claude-3.5-haiku
|
|
6037
|
-
id: "anthropic/claude-3.5-haiku
|
|
6038
|
-
name: "Anthropic: Claude 3.5 Haiku
|
|
6036
|
+
"anthropic/claude-3.5-haiku": {
|
|
6037
|
+
id: "anthropic/claude-3.5-haiku",
|
|
6038
|
+
name: "Anthropic: Claude 3.5 Haiku",
|
|
6039
6039
|
api: "openai-completions",
|
|
6040
6040
|
provider: "openrouter",
|
|
6041
6041
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
@@ -6271,39 +6271,39 @@ export const MODELS = {
|
|
|
6271
6271
|
contextWindow: 128000,
|
|
6272
6272
|
maxTokens: 16384,
|
|
6273
6273
|
},
|
|
6274
|
-
"meta-llama/llama-3.1-
|
|
6275
|
-
id: "meta-llama/llama-3.1-
|
|
6276
|
-
name: "Meta: Llama 3.1
|
|
6274
|
+
"meta-llama/llama-3.1-8b-instruct": {
|
|
6275
|
+
id: "meta-llama/llama-3.1-8b-instruct",
|
|
6276
|
+
name: "Meta: Llama 3.1 8B Instruct",
|
|
6277
6277
|
api: "openai-completions",
|
|
6278
6278
|
provider: "openrouter",
|
|
6279
6279
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
6280
6280
|
reasoning: false,
|
|
6281
6281
|
input: ["text"],
|
|
6282
6282
|
cost: {
|
|
6283
|
-
input:
|
|
6284
|
-
output:
|
|
6283
|
+
input: 0.02,
|
|
6284
|
+
output: 0.03,
|
|
6285
6285
|
cacheRead: 0,
|
|
6286
6286
|
cacheWrite: 0,
|
|
6287
6287
|
},
|
|
6288
|
-
contextWindow:
|
|
6289
|
-
maxTokens:
|
|
6288
|
+
contextWindow: 131072,
|
|
6289
|
+
maxTokens: 16384,
|
|
6290
6290
|
},
|
|
6291
|
-
"meta-llama/llama-3.1-
|
|
6292
|
-
id: "meta-llama/llama-3.1-
|
|
6293
|
-
name: "Meta: Llama 3.1
|
|
6291
|
+
"meta-llama/llama-3.1-405b-instruct": {
|
|
6292
|
+
id: "meta-llama/llama-3.1-405b-instruct",
|
|
6293
|
+
name: "Meta: Llama 3.1 405B Instruct",
|
|
6294
6294
|
api: "openai-completions",
|
|
6295
6295
|
provider: "openrouter",
|
|
6296
6296
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
6297
6297
|
reasoning: false,
|
|
6298
6298
|
input: ["text"],
|
|
6299
6299
|
cost: {
|
|
6300
|
-
input:
|
|
6301
|
-
output:
|
|
6300
|
+
input: 3.5,
|
|
6301
|
+
output: 3.5,
|
|
6302
6302
|
cacheRead: 0,
|
|
6303
6303
|
cacheWrite: 0,
|
|
6304
6304
|
},
|
|
6305
|
-
contextWindow:
|
|
6306
|
-
maxTokens:
|
|
6305
|
+
contextWindow: 130815,
|
|
6306
|
+
maxTokens: 4096,
|
|
6307
6307
|
},
|
|
6308
6308
|
"meta-llama/llama-3.1-70b-instruct": {
|
|
6309
6309
|
id: "meta-llama/llama-3.1-70b-instruct",
|
|
@@ -6851,6 +6851,40 @@ export const MODELS = {
|
|
|
6851
6851
|
contextWindow: 1048576,
|
|
6852
6852
|
maxTokens: 8192,
|
|
6853
6853
|
},
|
|
6854
|
+
"gemini-3-pro-preview": {
|
|
6855
|
+
id: "gemini-3-pro-preview",
|
|
6856
|
+
name: "Gemini 3 Pro Preview (Cloud Code Assist)",
|
|
6857
|
+
api: "google-gemini-cli",
|
|
6858
|
+
provider: "google-gemini-cli",
|
|
6859
|
+
baseUrl: "https://cloudcode-pa.googleapis.com",
|
|
6860
|
+
reasoning: true,
|
|
6861
|
+
input: ["text", "image"],
|
|
6862
|
+
cost: {
|
|
6863
|
+
input: 0,
|
|
6864
|
+
output: 0,
|
|
6865
|
+
cacheRead: 0,
|
|
6866
|
+
cacheWrite: 0,
|
|
6867
|
+
},
|
|
6868
|
+
contextWindow: 1048576,
|
|
6869
|
+
maxTokens: 65535,
|
|
6870
|
+
},
|
|
6871
|
+
"gemini-3-flash-preview": {
|
|
6872
|
+
id: "gemini-3-flash-preview",
|
|
6873
|
+
name: "Gemini 3 Flash Preview (Cloud Code Assist)",
|
|
6874
|
+
api: "google-gemini-cli",
|
|
6875
|
+
provider: "google-gemini-cli",
|
|
6876
|
+
baseUrl: "https://cloudcode-pa.googleapis.com",
|
|
6877
|
+
reasoning: true,
|
|
6878
|
+
input: ["text", "image"],
|
|
6879
|
+
cost: {
|
|
6880
|
+
input: 0,
|
|
6881
|
+
output: 0,
|
|
6882
|
+
cacheRead: 0,
|
|
6883
|
+
cacheWrite: 0,
|
|
6884
|
+
},
|
|
6885
|
+
contextWindow: 1048576,
|
|
6886
|
+
maxTokens: 65535,
|
|
6887
|
+
},
|
|
6854
6888
|
},
|
|
6855
6889
|
"google-antigravity": {
|
|
6856
6890
|
"gemini-3-pro-high": {
|