Skip to content

Commit

Permalink
feat(api): updates (#967)
Browse files Browse the repository at this point in the history
- This commit removes the `AssistantResponseFormat` type
  • Loading branch information
Stainless Bot committed Aug 6, 2024
1 parent 2561025 commit 8939b6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 68
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-c36d30a94622922f83d56a025cdf0095ff7cb18a5138838c698c8443f21fb3a8.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4097c2f86beb3f3bb021775cd1dfa240e960caf842aeefc2e08da4dc0851ea79.yml
13 changes: 0 additions & 13 deletions src/resources/beta/threads/threads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,6 @@ export class Threads extends APIResource {
}
}

/**
<<<<<<< HEAD
* An object describing the expected output of the model. If `json_object` or
* `json_schema`, only `function` type `tools` are allowed to be passed to the Run.
* If `text` the model can return text or any value needed.
*/
export interface AssistantResponseFormat {
/**
* Must be one of `text`, `json_object` or `json_schema`.
*/
type?: 'text' | 'json_object' | 'json_schema';
}

/**
* Specifies the format that the model must output. Compatible with
* [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
Expand Down

0 comments on commit 8939b6a

Please sign in to comment.