@llmgateway/models 1.79.0 → 1.80.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/models.d.ts CHANGED
@@ -37,7 +37,9 @@ export interface ProviderModelMapping {
37
37
  cacheWriteInputPrice1h?: number;
38
38
  minCacheableTokens?: number;
39
39
  imageInputPrice?: number;
40
+ inputAudioPrice?: number;
40
41
  cachedImageInputPrice?: number;
42
+ cachedInputAudioPrice?: number;
41
43
  imageOutputTokensByResolution?: Record<string, number>;
42
44
  imageInputTokensByResolution?: Record<string, number>;
43
45
  requestPrice?: number;
@@ -48,6 +50,7 @@ export interface ProviderModelMapping {
48
50
  maxOutput?: number;
49
51
  streaming: boolean | "only";
50
52
  vision?: boolean;
53
+ audio?: boolean;
51
54
  reasoning?: boolean;
52
55
  splitTaggedReasoning?: boolean;
53
56
  supportsResponsesApi?: boolean;
@@ -2742,6 +2745,7 @@ export declare const models: [{
2742
2745
  readonly reasoningMaxTokens: true;
2743
2746
  readonly streaming: true;
2744
2747
  readonly vision: true;
2748
+ readonly audio: true;
2745
2749
  readonly tools: true;
2746
2750
  readonly webSearch: true;
2747
2751
  readonly webSearchPrice: 0.035;
@@ -2773,6 +2777,7 @@ export declare const models: [{
2773
2777
  readonly reasoningMaxTokens: true;
2774
2778
  readonly streaming: true;
2775
2779
  readonly vision: true;
2780
+ readonly audio: true;
2776
2781
  readonly tools: true;
2777
2782
  readonly webSearch: true;
2778
2783
  readonly webSearchPrice: 0.035;
@@ -2809,6 +2814,7 @@ export declare const models: [{
2809
2814
  readonly reasoningMaxTokens: true;
2810
2815
  readonly streaming: true;
2811
2816
  readonly vision: true;
2817
+ readonly audio: true;
2812
2818
  readonly tools: true;
2813
2819
  readonly jsonOutput: true;
2814
2820
  readonly jsonOutputSchema: true;
@@ -2837,6 +2843,7 @@ export declare const models: [{
2837
2843
  readonly reasoningMaxTokens: true;
2838
2844
  readonly streaming: true;
2839
2845
  readonly vision: true;
2846
+ readonly audio: true;
2840
2847
  readonly tools: true;
2841
2848
  readonly jsonOutput: true;
2842
2849
  readonly jsonOutputSchema: true;
@@ -2872,6 +2879,7 @@ export declare const models: [{
2872
2879
  readonly reasoningMaxTokens: true;
2873
2880
  readonly streaming: true;
2874
2881
  readonly vision: true;
2882
+ readonly audio: true;
2875
2883
  readonly tools: true;
2876
2884
  readonly jsonOutput: true;
2877
2885
  readonly jsonOutputSchema: true;
@@ -2900,6 +2908,7 @@ export declare const models: [{
2900
2908
  readonly reasoningMaxTokens: true;
2901
2909
  readonly streaming: true;
2902
2910
  readonly vision: true;
2911
+ readonly audio: true;
2903
2912
  readonly tools: true;
2904
2913
  readonly jsonOutput: true;
2905
2914
  readonly jsonOutputSchema: true;
@@ -2923,6 +2932,7 @@ export declare const models: [{
2923
2932
  readonly reasoningMaxTokens: true;
2924
2933
  readonly streaming: true;
2925
2934
  readonly vision: true;
2935
+ readonly audio: true;
2926
2936
  readonly tools: true;
2927
2937
  readonly jsonOutput: true;
2928
2938
  readonly jsonOutputSchema: true;
@@ -2939,6 +2949,7 @@ export declare const models: [{
2939
2949
  readonly reasoningMaxTokens: true;
2940
2950
  readonly streaming: true;
2941
2951
  readonly vision: true;
2952
+ readonly audio: true;
2942
2953
  readonly tools: true;
2943
2954
  readonly jsonOutput: true;
2944
2955
  readonly jsonOutputSchema: true;
@@ -2962,6 +2973,7 @@ export declare const models: [{
2962
2973
  readonly reasoningMaxTokens: true;
2963
2974
  readonly streaming: true;
2964
2975
  readonly vision: true;
2976
+ readonly audio: true;
2965
2977
  readonly tools: true;
2966
2978
  readonly jsonOutput: true;
2967
2979
  readonly jsonOutputSchema: true;
@@ -2978,6 +2990,7 @@ export declare const models: [{
2978
2990
  readonly reasoningMaxTokens: true;
2979
2991
  readonly streaming: true;
2980
2992
  readonly vision: true;
2993
+ readonly audio: true;
2981
2994
  readonly tools: true;
2982
2995
  readonly jsonOutput: true;
2983
2996
  readonly jsonOutputSchema: true;
@@ -3003,6 +3016,7 @@ export declare const models: [{
3003
3016
  readonly reasoningMaxTokens: true;
3004
3017
  readonly streaming: true;
3005
3018
  readonly vision: true;
3019
+ readonly audio: true;
3006
3020
  readonly tools: true;
3007
3021
  readonly jsonOutput: true;
3008
3022
  readonly jsonOutputSchema: true;
@@ -3020,6 +3034,7 @@ export declare const models: [{
3020
3034
  readonly reasoningMaxTokens: true;
3021
3035
  readonly streaming: true;
3022
3036
  readonly vision: true;
3037
+ readonly audio: true;
3023
3038
  readonly tools: true;
3024
3039
  readonly jsonOutput: true;
3025
3040
  readonly jsonOutputSchema: true;
@@ -3036,6 +3051,8 @@ export declare const models: [{
3036
3051
  readonly inputPrice: number;
3037
3052
  readonly outputPrice: number;
3038
3053
  readonly cachedInputPrice: number;
3054
+ readonly inputAudioPrice: number;
3055
+ readonly cachedInputAudioPrice: number;
3039
3056
  readonly requestPrice: 0;
3040
3057
  readonly contextSize: 1048576;
3041
3058
  readonly maxOutput: 65535;
@@ -3043,6 +3060,7 @@ export declare const models: [{
3043
3060
  readonly reasoningMaxTokens: true;
3044
3061
  readonly streaming: true;
3045
3062
  readonly vision: true;
3063
+ readonly audio: true;
3046
3064
  readonly tools: true;
3047
3065
  readonly webSearch: true;
3048
3066
  readonly webSearchPrice: 0.035;
@@ -3054,6 +3072,8 @@ export declare const models: [{
3054
3072
  readonly inputPrice: number;
3055
3073
  readonly outputPrice: number;
3056
3074
  readonly cachedInputPrice: number;
3075
+ readonly inputAudioPrice: number;
3076
+ readonly cachedInputAudioPrice: number;
3057
3077
  readonly requestPrice: 0;
3058
3078
  readonly contextSize: 1048576;
3059
3079
  readonly maxOutput: 65535;
@@ -3061,6 +3081,7 @@ export declare const models: [{
3061
3081
  readonly reasoningMaxTokens: true;
3062
3082
  readonly streaming: true;
3063
3083
  readonly vision: true;
3084
+ readonly audio: true;
3064
3085
  readonly tools: true;
3065
3086
  readonly webSearch: true;
3066
3087
  readonly webSearchPrice: 0.035;
@@ -3079,11 +3100,14 @@ export declare const models: [{
3079
3100
  readonly inputPrice: number;
3080
3101
  readonly outputPrice: number;
3081
3102
  readonly cachedInputPrice: number;
3103
+ readonly inputAudioPrice: number;
3104
+ readonly cachedInputAudioPrice: number;
3082
3105
  readonly requestPrice: 0;
3083
3106
  readonly contextSize: 1048576;
3084
3107
  readonly maxOutput: 65535;
3085
3108
  readonly streaming: true;
3086
3109
  readonly vision: true;
3110
+ readonly audio: true;
3087
3111
  readonly tools: true;
3088
3112
  readonly jsonOutput: true;
3089
3113
  readonly jsonOutputSchema: true;
@@ -3093,11 +3117,14 @@ export declare const models: [{
3093
3117
  readonly inputPrice: number;
3094
3118
  readonly outputPrice: number;
3095
3119
  readonly cachedInputPrice: number;
3120
+ readonly inputAudioPrice: number;
3121
+ readonly cachedInputAudioPrice: number;
3096
3122
  readonly requestPrice: 0;
3097
3123
  readonly contextSize: 1048576;
3098
3124
  readonly maxOutput: 65535;
3099
3125
  readonly streaming: true;
3100
3126
  readonly vision: true;
3127
+ readonly audio: true;
3101
3128
  readonly tools: true;
3102
3129
  readonly jsonOutput: true;
3103
3130
  readonly jsonOutputSchema: true;
@@ -3120,6 +3147,7 @@ export declare const models: [{
3120
3147
  readonly maxOutput: 65535;
3121
3148
  readonly streaming: true;
3122
3149
  readonly vision: true;
3150
+ readonly audio: true;
3123
3151
  readonly tools: true;
3124
3152
  readonly jsonOutput: true;
3125
3153
  readonly jsonOutputSchema: true;
@@ -3134,6 +3162,7 @@ export declare const models: [{
3134
3162
  readonly maxOutput: 65535;
3135
3163
  readonly streaming: true;
3136
3164
  readonly vision: true;
3165
+ readonly audio: true;
3137
3166
  readonly tools: true;
3138
3167
  readonly jsonOutput: true;
3139
3168
  readonly jsonOutputSchema: true;
@@ -3171,6 +3200,7 @@ export declare const models: [{
3171
3200
  readonly reasoningMaxTokens: true;
3172
3201
  readonly streaming: true;
3173
3202
  readonly vision: true;
3203
+ readonly audio: true;
3174
3204
  readonly tools: true;
3175
3205
  readonly webSearch: true;
3176
3206
  readonly webSearchPrice: 0.014;
@@ -3210,6 +3240,7 @@ export declare const models: [{
3210
3240
  readonly reasoningMaxTokens: true;
3211
3241
  readonly streaming: true;
3212
3242
  readonly vision: true;
3243
+ readonly audio: true;
3213
3244
  readonly tools: true;
3214
3245
  readonly webSearch: true;
3215
3246
  readonly webSearchPrice: 0.014;
@@ -3244,6 +3275,7 @@ export declare const models: [{
3244
3275
  readonly reasoningMaxTokens: true;
3245
3276
  readonly streaming: true;
3246
3277
  readonly vision: true;
3278
+ readonly audio: true;
3247
3279
  readonly tools: true;
3248
3280
  readonly webSearch: true;
3249
3281
  readonly webSearchPrice: 0.014;
@@ -3285,6 +3317,7 @@ export declare const models: [{
3285
3317
  readonly reasoningMaxTokens: true;
3286
3318
  readonly streaming: true;
3287
3319
  readonly vision: true;
3320
+ readonly audio: true;
3288
3321
  readonly tools: true;
3289
3322
  readonly webSearch: true;
3290
3323
  readonly webSearchPrice: 0.014;
@@ -3317,6 +3350,7 @@ export declare const models: [{
3317
3350
  readonly reasoningMaxTokens: true;
3318
3351
  readonly streaming: true;
3319
3352
  readonly vision: true;
3353
+ readonly audio: true;
3320
3354
  readonly tools: true;
3321
3355
  readonly webSearch: true;
3322
3356
  readonly webSearchPrice: 0.014;
@@ -3350,6 +3384,7 @@ export declare const models: [{
3350
3384
  readonly reasoningMaxTokens: true;
3351
3385
  readonly streaming: true;
3352
3386
  readonly vision: true;
3387
+ readonly audio: true;
3353
3388
  readonly tools: true;
3354
3389
  readonly webSearch: true;
3355
3390
  readonly webSearchPrice: 0.014;
@@ -3374,6 +3409,7 @@ export declare const models: [{
3374
3409
  readonly maxOutput: 65536;
3375
3410
  readonly streaming: true;
3376
3411
  readonly vision: true;
3412
+ readonly audio: true;
3377
3413
  readonly tools: true;
3378
3414
  readonly reasoning: true;
3379
3415
  readonly reasoningMaxTokens: true;
@@ -3391,6 +3427,7 @@ export declare const models: [{
3391
3427
  readonly maxOutput: 65536;
3392
3428
  readonly streaming: true;
3393
3429
  readonly vision: true;
3430
+ readonly audio: true;
3394
3431
  readonly tools: true;
3395
3432
  readonly reasoning: true;
3396
3433
  readonly reasoningMaxTokens: true;
@@ -3410,12 +3447,15 @@ export declare const models: [{
3410
3447
  readonly outputPrice: number;
3411
3448
  readonly cachedInputPrice: number;
3412
3449
  readonly cacheWriteInputPrice: number;
3450
+ readonly inputAudioPrice: number;
3451
+ readonly cachedInputAudioPrice: number;
3413
3452
  readonly requestPrice: 0;
3414
3453
  readonly webSearchPrice: 0.014;
3415
3454
  readonly contextSize: 1048576;
3416
3455
  readonly maxOutput: 65536;
3417
3456
  readonly streaming: true;
3418
3457
  readonly vision: true;
3458
+ readonly audio: true;
3419
3459
  readonly tools: true;
3420
3460
  readonly webSearch: true;
3421
3461
  readonly reasoning: true;
@@ -3429,12 +3469,15 @@ export declare const models: [{
3429
3469
  readonly outputPrice: number;
3430
3470
  readonly cachedInputPrice: number;
3431
3471
  readonly cacheWriteInputPrice: number;
3472
+ readonly inputAudioPrice: number;
3473
+ readonly cachedInputAudioPrice: number;
3432
3474
  readonly requestPrice: 0;
3433
3475
  readonly webSearchPrice: 0.014;
3434
3476
  readonly contextSize: 1048576;
3435
3477
  readonly maxOutput: 65536;
3436
3478
  readonly streaming: true;
3437
3479
  readonly vision: true;
3480
+ readonly audio: true;
3438
3481
  readonly tools: true;
3439
3482
  readonly webSearch: true;
3440
3483
  readonly reasoning: true;
@@ -3679,6 +3722,8 @@ export declare const models: [{
3679
3722
  readonly inputPrice: number;
3680
3723
  readonly outputPrice: number;
3681
3724
  readonly cachedInputPrice: number;
3725
+ readonly inputAudioPrice: number;
3726
+ readonly cachedInputAudioPrice: number;
3682
3727
  readonly requestPrice: 0;
3683
3728
  readonly contextSize: 1048576;
3684
3729
  readonly maxOutput: 65535;
@@ -3686,6 +3731,7 @@ export declare const models: [{
3686
3731
  readonly reasoningMaxTokens: true;
3687
3732
  readonly streaming: true;
3688
3733
  readonly vision: true;
3734
+ readonly audio: true;
3689
3735
  readonly tools: true;
3690
3736
  readonly webSearch: true;
3691
3737
  readonly webSearchPrice: 0.014;
@@ -3697,6 +3743,8 @@ export declare const models: [{
3697
3743
  readonly inputPrice: number;
3698
3744
  readonly outputPrice: number;
3699
3745
  readonly cachedInputPrice: number;
3746
+ readonly inputAudioPrice: number;
3747
+ readonly cachedInputAudioPrice: number;
3700
3748
  readonly requestPrice: 0;
3701
3749
  readonly contextSize: 1048576;
3702
3750
  readonly maxOutput: 65535;
@@ -3704,6 +3752,7 @@ export declare const models: [{
3704
3752
  readonly reasoningMaxTokens: true;
3705
3753
  readonly streaming: true;
3706
3754
  readonly vision: true;
3755
+ readonly audio: true;
3707
3756
  readonly tools: true;
3708
3757
  readonly webSearch: true;
3709
3758
  readonly webSearchPrice: 0.014;
@@ -3953,6 +4002,7 @@ export declare const models: [{
3953
4002
  readonly reasoningMaxTokens: true;
3954
4003
  readonly streaming: true;
3955
4004
  readonly vision: true;
4005
+ readonly audio: true;
3956
4006
  readonly tools: true;
3957
4007
  readonly jsonOutput: true;
3958
4008
  readonly jsonOutputSchema: true;
@@ -3969,6 +4019,7 @@ export declare const models: [{
3969
4019
  readonly reasoningMaxTokens: true;
3970
4020
  readonly streaming: true;
3971
4021
  readonly vision: true;
4022
+ readonly audio: true;
3972
4023
  readonly tools: true;
3973
4024
  readonly jsonOutput: true;
3974
4025
  readonly jsonOutputSchema: true;
@@ -3992,6 +4043,7 @@ export declare const models: [{
3992
4043
  readonly reasoningMaxTokens: true;
3993
4044
  readonly streaming: true;
3994
4045
  readonly vision: true;
4046
+ readonly audio: true;
3995
4047
  readonly tools: true;
3996
4048
  readonly jsonOutput: true;
3997
4049
  readonly jsonOutputSchema: true;
@@ -4008,6 +4060,7 @@ export declare const models: [{
4008
4060
  readonly reasoningMaxTokens: true;
4009
4061
  readonly streaming: true;
4010
4062
  readonly vision: true;
4063
+ readonly audio: true;
4011
4064
  readonly tools: true;
4012
4065
  readonly jsonOutput: true;
4013
4066
  readonly jsonOutputSchema: true;
@@ -4031,6 +4084,7 @@ export declare const models: [{
4031
4084
  readonly reasoningMaxTokens: true;
4032
4085
  readonly streaming: true;
4033
4086
  readonly vision: true;
4087
+ readonly audio: true;
4034
4088
  readonly tools: true;
4035
4089
  readonly jsonOutput: true;
4036
4090
  readonly jsonOutputSchema: true;
@@ -4047,6 +4101,7 @@ export declare const models: [{
4047
4101
  readonly reasoningMaxTokens: true;
4048
4102
  readonly streaming: true;
4049
4103
  readonly vision: true;
4104
+ readonly audio: true;
4050
4105
  readonly tools: true;
4051
4106
  readonly jsonOutput: true;
4052
4107
  readonly jsonOutputSchema: true;
@@ -4070,6 +4125,7 @@ export declare const models: [{
4070
4125
  readonly reasoningMaxTokens: true;
4071
4126
  readonly streaming: true;
4072
4127
  readonly vision: false;
4128
+ readonly audio: true;
4073
4129
  readonly tools: true;
4074
4130
  readonly jsonOutput: true;
4075
4131
  readonly jsonOutputSchema: true;
@@ -4086,6 +4142,7 @@ export declare const models: [{
4086
4142
  readonly reasoningMaxTokens: true;
4087
4143
  readonly streaming: true;
4088
4144
  readonly vision: false;
4145
+ readonly audio: true;
4089
4146
  readonly tools: true;
4090
4147
  readonly jsonOutput: true;
4091
4148
  readonly jsonOutputSchema: true;
@@ -4107,6 +4164,7 @@ export declare const models: [{
4107
4164
  readonly maxOutput: 8192;
4108
4165
  readonly streaming: true;
4109
4166
  readonly vision: false;
4167
+ readonly audio: true;
4110
4168
  readonly tools: true;
4111
4169
  readonly jsonOutput: true;
4112
4170
  readonly jsonOutputSchema: true;
@@ -4122,6 +4180,7 @@ export declare const models: [{
4122
4180
  readonly maxOutput: 8192;
4123
4181
  readonly streaming: true;
4124
4182
  readonly vision: false;
4183
+ readonly audio: true;
4125
4184
  readonly tools: true;
4126
4185
  readonly jsonOutput: true;
4127
4186
  readonly jsonOutputSchema: true;
@@ -4140,11 +4199,14 @@ export declare const models: [{
4140
4199
  readonly inputPrice: number;
4141
4200
  readonly outputPrice: number;
4142
4201
  readonly cachedInputPrice: number;
4202
+ readonly inputAudioPrice: number;
4203
+ readonly cachedInputAudioPrice: number;
4143
4204
  readonly requestPrice: 0;
4144
4205
  readonly contextSize: 1048576;
4145
4206
  readonly maxOutput: 8192;
4146
4207
  readonly streaming: true;
4147
4208
  readonly vision: false;
4209
+ readonly audio: true;
4148
4210
  readonly tools: true;
4149
4211
  readonly jsonOutput: true;
4150
4212
  readonly jsonOutputSchema: true;
@@ -4157,11 +4219,14 @@ export declare const models: [{
4157
4219
  readonly inputPrice: number;
4158
4220
  readonly outputPrice: number;
4159
4221
  readonly cachedInputPrice: number;
4222
+ readonly inputAudioPrice: number;
4223
+ readonly cachedInputAudioPrice: number;
4160
4224
  readonly requestPrice: 0;
4161
4225
  readonly contextSize: 1048576;
4162
4226
  readonly maxOutput: 8192;
4163
4227
  readonly streaming: true;
4164
4228
  readonly vision: false;
4229
+ readonly audio: true;
4165
4230
  readonly tools: true;
4166
4231
  readonly jsonOutput: true;
4167
4232
  readonly jsonOutputSchema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB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,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAib5C,MAAM,CAAC,MAAM,MAAM,GAAG;IACrB,GAAG,gBAAgB;IACnB,GAAG,YAAY;IACf,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,gBAAgB;IACnB,GAAG,SAAS;IACZ,GAAG,YAAY;IACf,GAAG,UAAU;IACb,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,aAAa;IAChB,GAAG,cAAc;IACjB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,kBAAkB;IACrB,GAAG,SAAS;CACyB,CAAC"}
package/dist/types.d.ts CHANGED
@@ -22,6 +22,13 @@ export interface ImageContent {
22
22
  data: string;
23
23
  };
24
24
  }
25
+ export interface InputAudioContent {
26
+ type: "input_audio";
27
+ input_audio: {
28
+ data: string;
29
+ format: "wav" | "mp3" | "aiff" | "aac" | "ogg" | "flac" | "m4a" | "mpeg" | "mpga" | "mp4" | "pcm" | "webm";
30
+ };
31
+ }
25
32
  export interface ToolUseContent {
26
33
  type: "tool_use";
27
34
  id: string;
@@ -33,7 +40,7 @@ export interface ToolResultContent {
33
40
  tool_use_id: string;
34
41
  content: string;
35
42
  }
36
- export type MessageContent = TextContent | ImageUrlContent | ImageContent | ToolUseContent | ToolResultContent;
43
+ export type MessageContent = TextContent | ImageUrlContent | ImageContent | InputAudioContent | ToolUseContent | ToolResultContent;
37
44
  export interface ToolCall {
38
45
  id: string;
39
46
  type: "function";
@@ -291,6 +298,7 @@ export type RequestBodyPreparer = (usedProvider: ProviderId, usedModel: string,
291
298
  export declare function isTextContent(content: MessageContent): content is TextContent;
292
299
  export declare function isImageUrlContent(content: MessageContent): content is ImageUrlContent;
293
300
  export declare function isImageContent(content: MessageContent): content is ImageContent;
301
+ export declare function isInputAudioContent(content: MessageContent): content is InputAudioContent;
294
302
  export declare function isToolUseContent(content: MessageContent): content is ToolUseContent;
295
303
  export declare function isToolResultContent(content: MessageContent): content is ToolResultContent;
296
304
  export declare function isOpenAITool(tool: OpenAITool | AnthropicTool | GoogleTool): tool is OpenAITool;
package/dist/types.js CHANGED
@@ -7,6 +7,9 @@ export function isImageUrlContent(content) {
7
7
  export function isImageContent(content) {
8
8
  return content.type === "image";
9
9
  }
10
+ export function isInputAudioContent(content) {
11
+ return content.type === "input_audio";
12
+ }
10
13
  export function isToolUseContent(content) {
11
14
  return content.type === "tool_use";
12
15
  }
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAiZA,MAAM,UAAU,aAAa,CAAC,OAAuB;IACpD,OAAO,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAChC,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,WAAW,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,cAAc,CAC7B,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAC/B,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAClC,OAAuB;IAEvB,OAAO,OAAO,CAAC,IAAI,KAAK,aAAa,CAAC;AACvC,CAAC;AAED,MAAM,UAAU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M,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,YAAY,CAC3B,IAA6C;IAE7C,OAAO,sBAAsB,IAAI,IAAI,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAC3B,WAAgC;IAEhC,OAAO,YAAY,IAAI,WAAW,CAAC;AACpC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmgateway/models",
3
- "version": "1.79.0",
3
+ "version": "1.80.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",