Skip to content

Commit 489ce5f

Browse files
committed
fb
1 parent 982086b commit 489ce5f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/Responses/Example09_ModelOverridePerRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public void Example09_ModelOverridePerRequest()
1818

1919
// Add extra request fields using Patch.
2020
// Patch lets you set fields like `model` that aren't exposed on ResponseCreationOptions.
21+
// This overrides the model set on the client just for the request where this options instance is used.
2122
// See the API docs https://platform.openai.com/docs/api-reference/responses/create for supported additional fields.
2223
ResponseCreationOptions options = new();
2324
options.Patch.Set("$.model"u8, "gpt-5");

examples/Responses/Example09_ModelOverridePerRequestAsync.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public async Task Example09_ModelOverridePerRequestAsync()
1919

2020
// Add extra request fields using Patch.
2121
// Patch lets you set fields like `model` that aren't exposed on ResponseCreationOptions.
22+
// This overrides the model set on the client just for the request where this options instance is used.
2223
// See the API docs https://platform.openai.com/docs/api-reference/responses/create for supported additional fields.
2324
ResponseCreationOptions options = new();
2425
options.Patch.Set("$.model"u8, "gpt-5");

0 commit comments

Comments
 (0)