From a34849d6459f3d50765eca417a81c243aea4cf57 Mon Sep 17 00:00:00 2001 From: markstuart-oai <323302876+markstuart-oai@users.noreply.github.com> Date: Wed, 23 Sep 2026 21:29:55 +0000 Subject: [PATCH] chore(api): correct fine-tuning bounds and Realtime response reference Castiron-Internal-PR: https://github.com/openai/openai-ruby-internal/pull/149 Castiron-Source-SHA: de28e463384ba1c1b67753497d2f35ee1f9e0adb Castiron-Public-Base-SHA: c7047782ff2ae38a859a08ef199e67a79c16b9fe --- .castiron.stats.yml | 10 ++++----- api_reference/openapi.transformed.yml | 31 +++++++++++++++------------ 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/.castiron.stats.yml b/.castiron.stats.yml index 521844da2..576a72f9d 100644 --- a/.castiron.stats.yml +++ b/.castiron.stats.yml @@ -1,8 +1,8 @@ schema_version: 1 -generation_id: 062e7c51-8ed8-4111-b6cf-507fa9befcce -openapi_spec_hash: 687580b2f55d2dada661f0387a4b3e0d -openapi_transformed_spec_hash: 904296217a5077aa14766c6c58aa87d9 +generation_id: b63bc7c6-84c2-49fe-8a74-237be8cc0b68 +openapi_spec_hash: 3fdbf56dcaf85efe1e621db8067f829a +openapi_transformed_spec_hash: 3ff7c45d6856b5ffccfd73b63ee4263d config_hash: 84cdcc959ee7140cc9a65e9b642c097b -codegen_sha: fd63e5c8b7583152acfe88ba6addb8adadcb3cc4 +codegen_sha: 98ff1a185428389f908e78fdda3de3b976bd39fe codegen_hash: 932d507add86de293034431eea802f35ed4accc8c8c0e63c0e2be239178a7869 -public_codegen_sha: edeb207d57bd3fe367f2b78137d7508b6bf08364 +public_codegen_sha: 804280cc8a4a275fb109946e6b27250c1f695639 diff --git a/api_reference/openapi.transformed.yml b/api_reference/openapi.transformed.yml index fdf489614..1321ea33c 100644 --- a/api_reference/openapi.transformed.yml +++ b/api_reference/openapi.transformed.yml @@ -36954,6 +36954,7 @@ components: description: | Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. + default: auto anyOf: - type: string enum: @@ -36961,8 +36962,7 @@ components: x-stainless-const: true title: Auto - type: number - minimum: 0 - exclusiveMinimum: true + exclusiveMinimum: 0 n_epochs: description: | The number of epochs to train the model for. An epoch refers to one full cycle @@ -41281,15 +41281,15 @@ components: beta: description: | The beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model. + default: auto anyOf: - type: string enum: - auto x-stainless-const: true - type: number - minimum: 0 maximum: 2 - exclusiveMinimum: true + exclusiveMinimum: 0 batch_size: description: | Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance. @@ -41305,14 +41305,14 @@ components: learning_rate_multiplier: description: | Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. + default: auto anyOf: - type: string enum: - auto x-stainless-const: true - type: number - minimum: 0 - exclusiveMinimum: true + exclusiveMinimum: 0 n_epochs: description: | The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. @@ -41369,14 +41369,14 @@ components: learning_rate_multiplier: description: | Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. + default: auto anyOf: - type: string enum: - auto x-stainless-const: true - type: number - minimum: 0 - exclusiveMinimum: true + exclusiveMinimum: 0 n_epochs: description: | The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. @@ -41402,15 +41402,15 @@ components: compute_multiplier: description: | Multiplier on amount of compute used for exploring search space during training. + default: auto anyOf: - type: string enum: - auto x-stainless-const: true - type: number - minimum: 0.00001 maximum: 10 - exclusiveMinimum: true + exclusiveMinimum: 0.00001 eval_interval: description: | The number of training steps between evaluation runs. @@ -41469,14 +41469,14 @@ components: learning_rate_multiplier: description: | Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. + default: auto anyOf: - type: string enum: - auto x-stainless-const: true - type: number - minimum: 0 - exclusiveMinimum: true + exclusiveMinimum: 0 n_epochs: description: | The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. @@ -41649,6 +41649,7 @@ components: description: | Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting. + default: auto anyOf: - type: string enum: @@ -41656,8 +41657,7 @@ components: x-stainless-const: true title: Auto - type: number - minimum: 0 - exclusiveMinimum: true + exclusiveMinimum: 0 n_epochs: description: | The number of epochs to train the model for. An epoch refers to one full cycle @@ -51336,6 +51336,9 @@ components: The session configuration for either a realtime or transcription session. discriminator: propertyName: type + mapping: + realtime: '#/components/schemas/RealtimeSessionCreateResponseGA' + transcription: '#/components/schemas/RealtimeTranscriptionSessionCreateResponseGA' anyOf: - $ref: '#/components/schemas/RealtimeSessionCreateResponseGA' - $ref: '#/components/schemas/RealtimeTranscriptionSessionCreateResponseGA'