@mariozechner/pi-ai 0.23.1 → 0.23.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 -21
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +57 -40
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +14 -9
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses.d.ts.map +1 -1
- package/dist/providers/openai-responses.js +4 -6
- package/dist/providers/openai-responses.js.map +1 -1
- package/package.json +1 -1
|
@@ -359,6 +359,23 @@ export declare const MODELS: {
|
|
|
359
359
|
};
|
|
360
360
|
};
|
|
361
361
|
readonly google: {
|
|
362
|
+
readonly "gemini-3-flash-preview": {
|
|
363
|
+
id: string;
|
|
364
|
+
name: string;
|
|
365
|
+
api: "google-generative-ai";
|
|
366
|
+
provider: string;
|
|
367
|
+
baseUrl: string;
|
|
368
|
+
reasoning: true;
|
|
369
|
+
input: ("image" | "text")[];
|
|
370
|
+
cost: {
|
|
371
|
+
input: number;
|
|
372
|
+
output: number;
|
|
373
|
+
cacheRead: number;
|
|
374
|
+
cacheWrite: number;
|
|
375
|
+
};
|
|
376
|
+
contextWindow: number;
|
|
377
|
+
maxTokens: number;
|
|
378
|
+
};
|
|
362
379
|
readonly "gemini-2.5-flash-preview-05-20": {
|
|
363
380
|
id: string;
|
|
364
381
|
name: string;
|
|
@@ -2930,6 +2947,23 @@ export declare const MODELS: {
|
|
|
2930
2947
|
};
|
|
2931
2948
|
};
|
|
2932
2949
|
readonly openrouter: {
|
|
2950
|
+
readonly "google/gemini-3-flash-preview": {
|
|
2951
|
+
id: string;
|
|
2952
|
+
name: string;
|
|
2953
|
+
api: "openai-completions";
|
|
2954
|
+
provider: string;
|
|
2955
|
+
baseUrl: string;
|
|
2956
|
+
reasoning: true;
|
|
2957
|
+
input: ("image" | "text")[];
|
|
2958
|
+
cost: {
|
|
2959
|
+
input: number;
|
|
2960
|
+
output: number;
|
|
2961
|
+
cacheRead: number;
|
|
2962
|
+
cacheWrite: number;
|
|
2963
|
+
};
|
|
2964
|
+
contextWindow: number;
|
|
2965
|
+
maxTokens: number;
|
|
2966
|
+
};
|
|
2933
2967
|
readonly "mistralai/mistral-small-creative": {
|
|
2934
2968
|
id: string;
|
|
2935
2969
|
name: string;
|
|
@@ -3134,23 +3168,6 @@ export declare const MODELS: {
|
|
|
3134
3168
|
contextWindow: number;
|
|
3135
3169
|
maxTokens: number;
|
|
3136
3170
|
};
|
|
3137
|
-
readonly "amazon/nova-2-lite-v1:free": {
|
|
3138
|
-
id: string;
|
|
3139
|
-
name: string;
|
|
3140
|
-
api: "openai-completions";
|
|
3141
|
-
provider: string;
|
|
3142
|
-
baseUrl: string;
|
|
3143
|
-
reasoning: true;
|
|
3144
|
-
input: ("image" | "text")[];
|
|
3145
|
-
cost: {
|
|
3146
|
-
input: number;
|
|
3147
|
-
output: number;
|
|
3148
|
-
cacheRead: number;
|
|
3149
|
-
cacheWrite: number;
|
|
3150
|
-
};
|
|
3151
|
-
contextWindow: number;
|
|
3152
|
-
maxTokens: number;
|
|
3153
|
-
};
|
|
3154
3171
|
readonly "amazon/nova-2-lite-v1": {
|
|
3155
3172
|
id: string;
|
|
3156
3173
|
name: string;
|
|
@@ -6092,7 +6109,7 @@ export declare const MODELS: {
|
|
|
6092
6109
|
contextWindow: number;
|
|
6093
6110
|
maxTokens: number;
|
|
6094
6111
|
};
|
|
6095
|
-
readonly "anthropic/claude-3.5-haiku
|
|
6112
|
+
readonly "anthropic/claude-3.5-haiku": {
|
|
6096
6113
|
id: string;
|
|
6097
6114
|
name: string;
|
|
6098
6115
|
api: "openai-completions";
|
|
@@ -6109,7 +6126,7 @@ export declare const MODELS: {
|
|
|
6109
6126
|
contextWindow: number;
|
|
6110
6127
|
maxTokens: number;
|
|
6111
6128
|
};
|
|
6112
|
-
readonly "anthropic/claude-3.5-haiku": {
|
|
6129
|
+
readonly "anthropic/claude-3.5-haiku-20241022": {
|
|
6113
6130
|
id: string;
|
|
6114
6131
|
name: string;
|
|
6115
6132
|
api: "openai-completions";
|
|
@@ -6347,7 +6364,7 @@ export declare const MODELS: {
|
|
|
6347
6364
|
contextWindow: number;
|
|
6348
6365
|
maxTokens: number;
|
|
6349
6366
|
};
|
|
6350
|
-
readonly "meta-llama/llama-3.1-
|
|
6367
|
+
readonly "meta-llama/llama-3.1-405b-instruct": {
|
|
6351
6368
|
id: string;
|
|
6352
6369
|
name: string;
|
|
6353
6370
|
api: "openai-completions";
|
|
@@ -6364,7 +6381,7 @@ export declare const MODELS: {
|
|
|
6364
6381
|
contextWindow: number;
|
|
6365
6382
|
maxTokens: number;
|
|
6366
6383
|
};
|
|
6367
|
-
readonly "meta-llama/llama-3.1-
|
|
6384
|
+
readonly "meta-llama/llama-3.1-8b-instruct": {
|
|
6368
6385
|
id: string;
|
|
6369
6386
|
name: string;
|
|
6370
6387
|
api: "openai-completions";
|