@@ -73,10 +73,7 @@ export class Responses extends APIResource {
7373 *
7474 * @example
7575 * ```ts
76- * const response = await client.responses.create({
77- * input: 'string',
78- * model: 'gpt-4o',
79- * });
76+ * const response = await client.responses.create();
8077 * ```
8178 */
8279 create ( body : ResponseCreateParamsNonStreaming , options ?: RequestOptions ) : APIPromise < Response > ;
@@ -4592,28 +4589,6 @@ export namespace WebSearchTool {
45924589export type ResponseCreateParams = ResponseCreateParamsNonStreaming | ResponseCreateParamsStreaming ;
45934590
45944591export interface ResponseCreateParamsBase {
4595- /**
4596- * Text, image, or file inputs to the model, used to generate a response.
4597- *
4598- * Learn more:
4599- *
4600- * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
4601- * - [Image inputs](https://platform.openai.com/docs/guides/images)
4602- * - [File inputs](https://platform.openai.com/docs/guides/pdf-files)
4603- * - [Conversation state](https://platform.openai.com/docs/guides/conversation-state)
4604- * - [Function calling](https://platform.openai.com/docs/guides/function-calling)
4605- */
4606- input : string | ResponseInput ;
4607-
4608- /**
4609- * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a
4610- * wide range of models with different capabilities, performance characteristics,
4611- * and price points. Refer to the
4612- * [model guide](https://platform.openai.com/docs/models) to browse and compare
4613- * available models.
4614- */
4615- model : Shared . ResponsesModel ;
4616-
46174592 /**
46184593 * Whether to run the model response in the background.
46194594 * [Learn more](https://platform.openai.com/docs/guides/background).
@@ -4639,6 +4614,19 @@ export interface ResponseCreateParamsBase {
46394614 */
46404615 include ?: Array < ResponseIncludable > | null ;
46414616
4617+ /**
4618+ * Text, image, or file inputs to the model, used to generate a response.
4619+ *
4620+ * Learn more:
4621+ *
4622+ * - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
4623+ * - [Image inputs](https://platform.openai.com/docs/guides/images)
4624+ * - [File inputs](https://platform.openai.com/docs/guides/pdf-files)
4625+ * - [Conversation state](https://platform.openai.com/docs/guides/conversation-state)
4626+ * - [Function calling](https://platform.openai.com/docs/guides/function-calling)
4627+ */
4628+ input ?: string | ResponseInput ;
4629+
46424630 /**
46434631 * A system (or developer) message inserted into the model's context.
46444632 *
@@ -4665,6 +4653,15 @@ export interface ResponseCreateParamsBase {
46654653 */
46664654 metadata ?: Shared . Metadata | null ;
46674655
4656+ /**
4657+ * Model ID used to generate the response, like `gpt-4o` or `o3`. OpenAI offers a
4658+ * wide range of models with different capabilities, performance characteristics,
4659+ * and price points. Refer to the
4660+ * [model guide](https://platform.openai.com/docs/models) to browse and compare
4661+ * available models.
4662+ */
4663+ model ?: Shared . ResponsesModel ;
4664+
46684665 /**
46694666 * Whether to allow the model to run tool calls in parallel.
46704667 */
0 commit comments