File tree Expand file tree Collapse file tree 6 files changed +33
-6
lines changed Expand file tree Collapse file tree 6 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,16 @@ export const modelsByProvider: ModelsByProviderInclCosts = {
414
414
toolChoice : true ,
415
415
parallelToolCalls : true
416
416
}
417
+ } ,
418
+ {
419
+ id : 'claude-3-5-haiku-20241022' ,
420
+ provider : ANTHROPIC ,
421
+ promptCost : 1 ,
422
+ completionCost : 5 ,
423
+ toolSupport : {
424
+ toolChoice : true ,
425
+ parallelToolCalls : true
426
+ }
417
427
}
418
428
] ,
419
429
[ GROQ ] : [
Original file line number Diff line number Diff line change @@ -334,6 +334,16 @@ export const modelsByProvider: ModelsByProviderInclCosts = {
334
334
toolChoice : true ,
335
335
parallelToolCalls : true
336
336
}
337
+ } ,
338
+ {
339
+ id : 'claude-3-5-haiku-20241022' ,
340
+ provider : ANTHROPIC ,
341
+ promptCost : 1 ,
342
+ completionCost : 5 ,
343
+ toolSupport : {
344
+ toolChoice : true ,
345
+ parallelToolCalls : true
346
+ }
337
347
}
338
348
] ,
339
349
[ GROQ ] : [
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ export type AnthropicModels =
36
36
| 'anthropic:claude-3-5-sonnet-20240620'
37
37
| 'anthropic:claude-3-opus-20240229'
38
38
| 'anthropic:claude-3-sonnet-20240229'
39
- | 'anthropic:claude-3-haiku-20240307' ;
39
+ | 'anthropic:claude-3-haiku-20240307'
40
+ | 'anthropic:claude-3-5-haiku-20241022' ;
40
41
41
42
export type GroqModels =
42
43
| 'groq:llama-3.1-70b-versatile'
@@ -74,4 +75,6 @@ export type MistralAIModels =
74
75
| 'mistral:open-mistral-nemo'
75
76
| 'mistral:codestral-latest' ;
76
77
78
+ export type XAIModels = 'xai:grok-beta' ;
79
+
77
80
export type OllamaModels = `ollama:${string } `;
Original file line number Diff line number Diff line change @@ -235,6 +235,12 @@ export const modelsByProvider: ModelsByProviderInclCosts = {
235
235
promptCost : 0.25 ,
236
236
completionCost : 1.25 ,
237
237
} ,
238
+ {
239
+ id : 'claude-3-5-haiku-20241022' ,
240
+ provider : ANTHROPIC ,
241
+ promptCost : 1 ,
242
+ completionCost : 5 ,
243
+ } ,
238
244
] ,
239
245
[ GROQ ] : [
240
246
{
Original file line number Diff line number Diff line change @@ -142,10 +142,7 @@ export class Pipe {
142
142
}
143
143
144
144
private isStreamRequested ( options : RunOptions | RunOptionsStream ) : boolean {
145
- return (
146
- ( 'stream' in options && options . stream === true ) ||
147
- this . pipe . meta . stream
148
- ) ;
145
+ return 'stream' in options && options . stream === true ;
149
146
}
150
147
151
148
private warnIfToolsWithStream ( requestedStream : boolean ) : void {
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ export type AnthropicModels =
36
36
| 'anthropic:claude-3-5-sonnet-20240620'
37
37
| 'anthropic:claude-3-opus-20240229'
38
38
| 'anthropic:claude-3-sonnet-20240229'
39
- | 'anthropic:claude-3-haiku-20240307' ;
39
+ | 'anthropic:claude-3-haiku-20240307'
40
+ | 'anthropic:claude-3-5-haiku-20241022' ;
40
41
41
42
export type GroqModels =
42
43
| 'groq:llama-3.1-70b-versatile'
You can’t perform that action at this time.
0 commit comments