Commit f932adc 1 parent c792e75 commit f932adc Copy full SHA for f932adc
File tree 5 files changed +55
-10
lines changed
5 files changed +55
-10
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 64
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-ff436357b12348b7c1c930469332a79cd23ac6ec537e645c411893c42de42e57 .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-c085faf70d6ff059fbe11b7b6b98123a612524cb9b8a6f649c99526e5b0b1bdb .yml
Original file line number Diff line number Diff line change @@ -459,7 +459,16 @@ export namespace Message {
459
459
/**
460
460
* The tools to add this file to.
461
461
*/
462
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
462
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . AssistantToolsFileSearchTypeOnly > ;
463
+ }
464
+
465
+ export namespace Attachment {
466
+ export interface AssistantToolsFileSearchTypeOnly {
467
+ /**
468
+ * The type of tool being defined: `file_search`
469
+ */
470
+ type : 'file_search' ;
471
+ }
463
472
}
464
473
465
474
/**
@@ -637,7 +646,16 @@ export namespace MessageCreateParams {
637
646
/**
638
647
* The tools to add this file to.
639
648
*/
640
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
649
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
650
+ }
651
+
652
+ export namespace Attachment {
653
+ export interface FileSearch {
654
+ /**
655
+ * The type of tool being defined: `file_search`
656
+ */
657
+ type : 'file_search' ;
658
+ }
641
659
}
642
660
}
643
661
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ export interface Run {
278
278
279
279
/**
280
280
* Whether to enable
281
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
281
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
282
282
* during tool use.
283
283
*/
284
284
parallel_tool_calls : boolean ;
@@ -568,7 +568,7 @@ export interface RunCreateParamsBase {
568
568
569
569
/**
570
570
* Whether to enable
571
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
571
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
572
572
* during tool use.
573
573
*/
574
574
parallel_tool_calls ?: boolean ;
@@ -680,7 +680,16 @@ export namespace RunCreateParams {
680
680
/**
681
681
* The tools to add this file to.
682
682
*/
683
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
683
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
684
+ }
685
+
686
+ export namespace Attachment {
687
+ export interface FileSearch {
688
+ /**
689
+ * The type of tool being defined: `file_search`
690
+ */
691
+ type : 'file_search' ;
692
+ }
684
693
}
685
694
}
686
695
Original file line number Diff line number Diff line change @@ -299,7 +299,16 @@ export namespace ThreadCreateParams {
299
299
/**
300
300
* The tools to add this file to.
301
301
*/
302
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
302
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
303
+ }
304
+
305
+ export namespace Attachment {
306
+ export interface FileSearch {
307
+ /**
308
+ * The type of tool being defined: `file_search`
309
+ */
310
+ type : 'file_search' ;
311
+ }
303
312
}
304
313
}
305
314
@@ -538,7 +547,7 @@ export interface ThreadCreateAndRunParamsBase {
538
547
539
548
/**
540
549
* Whether to enable
541
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
550
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
542
551
* during tool use.
543
552
*/
544
553
parallel_tool_calls ?: boolean ;
@@ -693,7 +702,16 @@ export namespace ThreadCreateAndRunParams {
693
702
/**
694
703
* The tools to add this file to.
695
704
*/
696
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
705
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
706
+ }
707
+
708
+ export namespace Attachment {
709
+ export interface FileSearch {
710
+ /**
711
+ * The type of tool being defined: `file_search`
712
+ */
713
+ type : 'file_search' ;
714
+ }
697
715
}
698
716
}
699
717
Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ export interface ChatCompletionCreateParamsBase {
759
759
760
760
/**
761
761
* Whether to enable
762
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
762
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
763
763
* during tool use.
764
764
*/
765
765
parallel_tool_calls ?: boolean ;
You can’t perform that action at this time.
0 commit comments