Skip to content

Commit c0f2cd1

Browse files
feat(api): responses context_management
1 parent da0fb59 commit c0f2cd1

File tree

7 files changed

+400
-21
lines changed

7 files changed

+400
-21
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 136
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-64c3a646eb5dcad2b7ff7bd976c0e312b886676a542f6ffcd9a6c8503ae24c58.yml
3-
openapi_spec_hash: 91b1b7bf3c1a6b6c9c7507d4cac8fe2a
4-
config_hash: e7976c555732f55dc92f3aa09558ef9d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-bff810f46da56eff8d5e189b0d1f56ac07a8289723666138549d4239cad7c2ea.yml
3+
openapi_spec_hash: 7532ce5a6f490c8f5d1e079c76c70535
4+
config_hash: a1454ffd9612dee11f9d5a98e55eac9e

openai-java-core/src/main/kotlin/com/openai/models/images/ImageEditParams.kt

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ private constructor(
8282

8383
/**
8484
* Control how much effort the model will exert to match the style and features, especially
85-
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
86-
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
85+
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
86+
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
87+
* `low`. Defaults to `low`.
8788
*
8889
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
8990
* server responded with an unexpected value).
@@ -438,8 +439,9 @@ private constructor(
438439

439440
/**
440441
* Control how much effort the model will exert to match the style and features, especially
441-
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
442-
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
442+
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
443+
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
444+
* `low`. Defaults to `low`.
443445
*/
444446
fun inputFidelity(inputFidelity: InputFidelity?) = apply {
445447
body.inputFidelity(inputFidelity)
@@ -917,8 +919,9 @@ private constructor(
917919

918920
/**
919921
* Control how much effort the model will exert to match the style and features, especially
920-
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
921-
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
922+
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
923+
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
924+
* `low`. Defaults to `low`.
922925
*
923926
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
924927
* server responded with an unexpected value).
@@ -1319,8 +1322,8 @@ private constructor(
13191322
/**
13201323
* Control how much effort the model will exert to match the style and features,
13211324
* especially facial features, of input images. This parameter is only supported for
1322-
* `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`.
1323-
* Defaults to `low`.
1325+
* `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for
1326+
* `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
13241327
*/
13251328
fun inputFidelity(inputFidelity: InputFidelity?) =
13261329
inputFidelity(MultipartField.of(inputFidelity))
@@ -2005,8 +2008,9 @@ private constructor(
20052008

20062009
/**
20072010
* Control how much effort the model will exert to match the style and features, especially
2008-
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
2009-
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
2011+
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
2012+
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
2013+
* `low`. Defaults to `low`.
20102014
*/
20112015
class InputFidelity @JsonCreator private constructor(private val value: JsonField<String>) :
20122016
Enum {

0 commit comments

Comments
 (0)