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 @@ -404,7 +404,7 @@ export interface Run {
404
404
405
405
/**
406
406
* Whether to enable
407
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
407
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
408
408
* during tool use.
409
409
*/
410
410
parallel_tool_calls : boolean ;
@@ -694,7 +694,7 @@ export interface RunCreateParamsBase {
694
694
695
695
/**
696
696
* Whether to enable
697
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
697
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
698
698
* during tool use.
699
699
*/
700
700
parallel_tool_calls ?: boolean ;
@@ -806,7 +806,16 @@ export namespace RunCreateParams {
806
806
/**
807
807
* The tools to add this file to.
808
808
*/
809
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
809
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
810
+ }
811
+
812
+ export namespace Attachment {
813
+ export interface FileSearch {
814
+ /**
815
+ * The type of tool being defined: `file_search`
816
+ */
817
+ type : 'file_search' ;
818
+ }
810
819
}
811
820
}
812
821
Original file line number Diff line number Diff line change @@ -323,7 +323,16 @@ export namespace ThreadCreateParams {
323
323
/**
324
324
* The tools to add this file to.
325
325
*/
326
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
326
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
327
+ }
328
+
329
+ export namespace Attachment {
330
+ export interface FileSearch {
331
+ /**
332
+ * The type of tool being defined: `file_search`
333
+ */
334
+ type : 'file_search' ;
335
+ }
327
336
}
328
337
}
329
338
@@ -562,7 +571,7 @@ export interface ThreadCreateAndRunParamsBase {
562
571
563
572
/**
564
573
* Whether to enable
565
- * [parallel function calling](https://platform.openai.com/docs/guides/function-calling)
574
+ * [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling )
566
575
* during tool use.
567
576
*/
568
577
parallel_tool_calls ?: boolean ;
@@ -717,7 +726,16 @@ export namespace ThreadCreateAndRunParams {
717
726
/**
718
727
* The tools to add this file to.
719
728
*/
720
- tools ?: Array < AssistantsAPI . CodeInterpreterTool | AssistantsAPI . FileSearchTool > ;
729
+ tools ?: Array < AssistantsAPI . CodeInterpreterTool | Attachment . FileSearch > ;
730
+ }
731
+
732
+ export namespace Attachment {
733
+ export interface FileSearch {
734
+ /**
735
+ * The type of tool being defined: `file_search`
736
+ */
737
+ type : 'file_search' ;
738
+ }
721
739
}
722
740
}
723
741
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