File tree Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 29
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-1f9f08d53431133ec18d6a143dc148cd9707b4481d434ea72268b85fa09ace96 .yml
3
- openapi_spec_hash : 6d66a86c8d4ec97cb4d98b57a4238bc5
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-2cc1d49fa13b7d4a5cd42cc7440c1d3ef74763891b077d2cc28a872a41abd61f .yml
3
+ openapi_spec_hash : fa4a4788ab2d4438ef691c4b9f32a914
4
4
config_hash : 9c8f0f59a53f8837c6406b493a0c3db7
Original file line number Diff line number Diff line change @@ -461,16 +461,54 @@ export namespace CompletionCreateParams {
461
461
content :
462
462
| string
463
463
| Array <
464
- | ChatCompletionsAPI . ChatCompletionStructuredMessageText
465
- | ChatCompletionsAPI . ChatCompletionStructuredMessageImageURL
466
- | ChatCompletionsAPI . ChatCompletionStructuredMessageVideoURL
464
+ | ChatCompletionUserMessageParam . UnionMember0
465
+ | ChatCompletionUserMessageParam . UnionMember1
466
+ | ChatCompletionUserMessageParam . Video
467
467
> ;
468
468
469
469
role : 'user' ;
470
470
471
471
name ?: string ;
472
472
}
473
473
474
+ export namespace ChatCompletionUserMessageParam {
475
+ export interface UnionMember0 {
476
+ text : string ;
477
+
478
+ type : 'text' ;
479
+ }
480
+
481
+ export interface UnionMember1 {
482
+ image_url ?: UnionMember1 . ImageURL ;
483
+
484
+ type ?: 'image_url' ;
485
+ }
486
+
487
+ export namespace UnionMember1 {
488
+ export interface ImageURL {
489
+ /**
490
+ * The URL of the image
491
+ */
492
+ url : string ;
493
+ }
494
+ }
495
+
496
+ export interface Video {
497
+ type : 'video_url' ;
498
+
499
+ video_url : Video . VideoURL ;
500
+ }
501
+
502
+ export namespace Video {
503
+ export interface VideoURL {
504
+ /**
505
+ * The URL of the video
506
+ */
507
+ url : string ;
508
+ }
509
+ }
510
+ }
511
+
474
512
export interface ChatCompletionAssistantMessageParam {
475
513
role : 'assistant' ;
476
514
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ export {
13
13
Completions ,
14
14
type ChatCompletion ,
15
15
type ChatCompletionChunk ,
16
- type ChatCompletionStructuredMessageImageURL ,
17
- type ChatCompletionStructuredMessageText ,
18
- type ChatCompletionStructuredMessageVideoURL ,
19
16
type ChatCompletionUsage ,
20
17
type CompletionCreateParams ,
21
18
type CompletionCreateParamsNonStreaming ,
You can’t perform that action at this time.
0 commit comments