3
3
import { APIResource } from '../../resource' ;
4
4
import { isRequestOptions } from '../../core' ;
5
5
import * as Core from '../../core' ;
6
+ import * as ThreadsAPI from './threads/threads' ;
7
+ import { type Auto , Static , unnamed_schema_0 } from './threads/threads' ;
6
8
import * as Shared from '../shared' ;
7
9
import * as MessagesAPI from './threads/messages' ;
8
- import * as ThreadsAPI from './threads/threads' ;
9
10
import * as RunsAPI from './threads/runs/runs' ;
10
11
import * as StepsAPI from './threads/runs/steps' ;
11
12
import { CursorPage , type CursorPageParams } from '../../pagination' ;
@@ -1178,7 +1179,7 @@ export interface AssistantCreateParams {
1178
1179
* a list of file IDs, while the `file_search` tool requires a list of vector store
1179
1180
* IDs.
1180
1181
*/
1181
- tool_resources ?: AssistantCreateParams . ToolResources | null ;
1182
+ tool_resources ?: unnamed_schema_0 | null ;
1182
1183
1183
1184
/**
1184
1185
* A list of tool enabled on the assistant. There can be a maximum of 128 tools per
@@ -1204,13 +1205,13 @@ export namespace AssistantCreateParams {
1204
1205
* a list of file IDs, while the `file_search` tool requires a list of vector store
1205
1206
* IDs.
1206
1207
*/
1207
- export interface ToolResources {
1208
- code_interpreter ?: ToolResources . CodeInterpreter ;
1208
+ export interface unnamed_schema_0 {
1209
+ code_interpreter ?: ThreadsAPI . unnamed_schema_0 . CodeInterpreter ;
1209
1210
1210
- file_search ?: ToolResources . FileSearch ;
1211
+ file_search ?: ThreadsAPI . unnamed_schema_0 . FileSearch ;
1211
1212
}
1212
1213
1213
- export namespace ToolResources {
1214
+ export namespace unnamed_schema_0 {
1214
1215
export interface CodeInterpreter {
1215
1216
/**
1216
1217
* A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
@@ -1235,7 +1236,7 @@ export namespace AssistantCreateParams {
1235
1236
* with file_ids and attach it to this assistant. There can be a maximum of 1
1236
1237
* vector store attached to the assistant.
1237
1238
*/
1238
- vector_stores ?: Array < FileSearch . VectorStore > ;
1239
+ vector_stores ?: Array < ThreadsAPI . FileSearch . VectorStore > ;
1239
1240
}
1240
1241
1241
1242
export namespace FileSearch {
@@ -1244,7 +1245,7 @@ export namespace AssistantCreateParams {
1244
1245
* The chunking strategy used to chunk the file(s). If not set, will use the `auto`
1245
1246
* strategy.
1246
1247
*/
1247
- chunking_strategy ?: VectorStore . Auto | VectorStore . Static ;
1248
+ chunking_strategy ?: Auto | Static ;
1248
1249
1249
1250
/**
1250
1251
* A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to
@@ -1277,7 +1278,7 @@ export namespace AssistantCreateParams {
1277
1278
}
1278
1279
1279
1280
export interface Static {
1280
- static : Static . Static ;
1281
+ static : ThreadsAPI . Static . Static ;
1281
1282
1282
1283
/**
1283
1284
* Always `static`.
0 commit comments