33import { APIResource } from '../../resource' ;
44import { isRequestOptions } from '../../core' ;
55import * as Core from '../../core' ;
6+ import * as ThreadsAPI from './threads/threads' ;
7+ import { type Auto , Static , unnamed_schema_0 } from './threads/threads' ;
68import * as Shared from '../shared' ;
79import * as MessagesAPI from './threads/messages' ;
8- import * as ThreadsAPI from './threads/threads' ;
910import * as RunsAPI from './threads/runs/runs' ;
1011import * as StepsAPI from './threads/runs/steps' ;
1112import { CursorPage , type CursorPageParams } from '../../pagination' ;
@@ -1178,7 +1179,7 @@ export interface AssistantCreateParams {
11781179 * a list of file IDs, while the `file_search` tool requires a list of vector store
11791180 * IDs.
11801181 */
1181- tool_resources ?: AssistantCreateParams . ToolResources | null ;
1182+ tool_resources ?: unnamed_schema_0 | null ;
11821183
11831184 /**
11841185 * A list of tool enabled on the assistant. There can be a maximum of 128 tools per
@@ -1204,13 +1205,13 @@ export namespace AssistantCreateParams {
12041205 * a list of file IDs, while the `file_search` tool requires a list of vector store
12051206 * IDs.
12061207 */
1207- export interface ToolResources {
1208- code_interpreter ?: ToolResources . CodeInterpreter ;
1208+ export interface unnamed_schema_0 {
1209+ code_interpreter ?: ThreadsAPI . unnamed_schema_0 . CodeInterpreter ;
12091210
1210- file_search ?: ToolResources . FileSearch ;
1211+ file_search ?: ThreadsAPI . unnamed_schema_0 . FileSearch ;
12111212 }
12121213
1213- export namespace ToolResources {
1214+ export namespace unnamed_schema_0 {
12141215 export interface CodeInterpreter {
12151216 /**
12161217 * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs made
@@ -1235,7 +1236,7 @@ export namespace AssistantCreateParams {
12351236 * with file_ids and attach it to this assistant. There can be a maximum of 1
12361237 * vector store attached to the assistant.
12371238 */
1238- vector_stores ?: Array < FileSearch . VectorStore > ;
1239+ vector_stores ?: Array < ThreadsAPI . FileSearch . VectorStore > ;
12391240 }
12401241
12411242 export namespace FileSearch {
@@ -1244,7 +1245,7 @@ export namespace AssistantCreateParams {
12441245 * The chunking strategy used to chunk the file(s). If not set, will use the `auto`
12451246 * strategy.
12461247 */
1247- chunking_strategy ?: VectorStore . Auto | VectorStore . Static ;
1248+ chunking_strategy ?: Auto | Static ;
12481249
12491250 /**
12501251 * A list of [file](https://platform.openai.com/docs/api-reference/files) IDs to
@@ -1277,7 +1278,7 @@ export namespace AssistantCreateParams {
12771278 }
12781279
12791280 export interface Static {
1280- static : Static . Static ;
1281+ static : ThreadsAPI . Static . Static ;
12811282
12821283 /**
12831284 * Always `static`.
0 commit comments