Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .castiron.stats.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
schema_version: 1
generation_id: d9e3b632-5822-43f8-a0de-0cd04d09db33
openapi_spec_hash: 687580b2f55d2dada661f0387a4b3e0d
openapi_transformed_spec_hash: 904296217a5077aa14766c6c58aa87d9
generation_id: 2c9d6f3b-3cdb-4e34-a7eb-88df770f3d5b
openapi_spec_hash: c80aa413841be7f1fcc2e846a6fa84b6
openapi_transformed_spec_hash: f863c79711166d4468eb3f22fb1cd451
config_hash: 84cdcc959ee7140cc9a65e9b642c097b
codegen_sha: 41ac0d43560df6c0983b529a6112e2c437ead2d1
codegen_hash: 614193cc88f476d3dbfe7d149d8adf21489f235af4454fb1e93628fe43e1e351
public_codegen_sha: 2722089d4e9342c45f1ddbda6e7b4b72511d961f
codegen_sha: e80f01124395e47cd09e0de1f24ea04981f2fdf0
codegen_hash: 00cbf71f86ddc065a2723904e6278536d5df43407f3da7a7a0e1c3e4935ade07
public_codegen_sha: a90aef3efd9c4bb17c69973bd42013c28e8773b1
102 changes: 95 additions & 7 deletions api_reference/openapi.transformed.yml

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions src/openai/resources/beta/responses/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def with_streaming_response(self) -> ResponsesWithStreamingResponse:
def create(
self,
*,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -280,6 +281,8 @@ def create(
to use your own data as input for the model's response.
Args:
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -519,6 +522,7 @@ def create(
self,
*,
stream: Literal[True],
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -693,6 +697,8 @@ def create(
[Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
for more information.
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -925,6 +931,7 @@ def create(
self,
*,
stream: bool,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -1099,6 +1106,8 @@ def create(
[Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
for more information.
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -1329,6 +1338,7 @@ def create(
def create(
self,
*,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -1490,6 +1500,7 @@ def create(
"/responses?beta=true",
body=maybe_transform(
{
"access_programs": access_programs,
"background": background,
"context_management": context_management,
"conversation": conversation,
Expand Down Expand Up @@ -2114,6 +2125,7 @@ def with_streaming_response(self) -> AsyncResponsesWithStreamingResponse:
async def create(
self,
*,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -2282,6 +2294,8 @@ async def create(
to use your own data as input for the model's response.
Args:
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -2521,6 +2535,7 @@ async def create(
self,
*,
stream: Literal[True],
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -2695,6 +2710,8 @@ async def create(
[Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
for more information.
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -2927,6 +2944,7 @@ async def create(
self,
*,
stream: bool,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -3101,6 +3119,8 @@ async def create(
[Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)
for more information.
access_programs: Domain-specific access programs to use for this request.
background: Whether to run the model response in the background.
[Learn more](https://developers.openai.com/api/docs/guides/background).
Expand Down Expand Up @@ -3331,6 +3351,7 @@ async def create(
async def create(
self,
*,
access_programs: response_create_params.AccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[response_create_params.ContextManagement]] | Omit = omit,
conversation: Optional[response_create_params.Conversation] | Omit = omit,
Expand Down Expand Up @@ -3492,6 +3513,7 @@ async def create(
"/responses?beta=true",
body=await async_maybe_transform(
{
"access_programs": access_programs,
"background": background,
"context_management": context_management,
"conversation": conversation,
Expand Down Expand Up @@ -5195,6 +5217,7 @@ class ResponsesResponseResource(BaseResponsesConnectionResource):
def create(
self,
*,
access_programs: beta_responses_client_event_param.ResponseCreateAccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[beta_responses_client_event_param.ResponseCreateContextManagement]]
| Omit = omit,
Expand Down Expand Up @@ -5359,6 +5382,7 @@ def create(
strip_not_given(
{
"type": "response.create",
"access_programs": access_programs,
"background": background,
"context_management": context_management,
"conversation": conversation,
Expand Down Expand Up @@ -5449,6 +5473,7 @@ class AsyncResponsesResponseResource(BaseAsyncResponsesConnectionResource):
async def create(
self,
*,
access_programs: beta_responses_client_event_param.ResponseCreateAccessPrograms | Omit = omit,
background: Optional[bool] | Omit = omit,
context_management: Optional[Iterable[beta_responses_client_event_param.ResponseCreateContextManagement]]
| Omit = omit,
Expand Down Expand Up @@ -5613,6 +5638,7 @@ async def create(
strip_not_given(
{
"type": "response.create",
"access_programs": access_programs,
"background": background,
"context_management": context_management,
"conversation": conversation,
Expand Down
Loading
Loading