import type { ToolResources, ThreadMessageOptions, ListSortOrder } from "../../models/models.js"; import type { OperationOptions } from "@azure-rest/core-client"; /** Optional parameters. */ export interface ThreadsDeleteThreadOptionalParams extends OperationOptions { } /** Optional parameters. */ export interface ThreadsUpdateThreadOptionalParams extends OperationOptions { /** * A set of resources that are made available to the agent's tools in this thread. The resources are specific to the * type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires * a list of vector store IDs */ toolResources?: ToolResources | null; /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */ metadata?: Record | null; } /** Optional parameters. */ export interface ThreadsGetThreadOptionalParams extends OperationOptions { } /** Optional parameters. */ export interface ThreadsListThreadsOptionalParams extends OperationOptions { /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */ limit?: number; /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */ order?: ListSortOrder; /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */ after?: string; /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */ before?: string; } /** Optional parameters. */ export interface ThreadsCreateThreadOptionalParams extends OperationOptions { /** The initial messages to associate with the new thread. */ messages?: ThreadMessageOptions[]; /** * A set of resources that are made available to the agent's tools in this thread. The resources are specific to the * type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires * a list of vector store IDs. */ toolResources?: ToolResources | null; /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */ metadata?: Record | null; } //# sourceMappingURL=options.d.ts.map