From 11b8789f32baa84dcf0b48d6db656f41610b0a38 Mon Sep 17 00:00:00 2001 From: Artem Chumachenko Date: Wed, 4 Mar 2026 18:02:09 +0100 Subject: [PATCH 1/3] Another try --- openapi.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 3daf2a8..f8ea662 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2621,6 +2621,7 @@ paths: oneOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType' + - null description: The training type to use. If not provided, the job will default to LoRA training type. multimodal_params: $ref: '#/components/schemas/MultimodalParams' @@ -2764,6 +2765,7 @@ paths: oneOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType' + - null description: The training type to use. If not provided, the job will default to LoRA training type. from_checkpoint: type: string @@ -4596,7 +4598,7 @@ paths: schema: $ref: '#/components/schemas/GPUClustersSharedVolumes' x-codeSamples: - - lang: Python + - lang: Python label: Together AI SDK (v2) source: | from together import Together @@ -6972,7 +6974,7 @@ paths: schema: description: Request ID returned from the submit endpoint type: string - - name: model + - name: model in: query required: true schema: @@ -7121,7 +7123,7 @@ paths: application/json: schema: $ref: '#/components/schemas/RpcStatus' - + /rl/training-sessions/{session_id}: get: summary: Get training session @@ -8986,7 +8988,7 @@ components: compliance: const: hipaa chat_template_kwargs: - description: Additional configuration to pass to model engine. + description: Additional configuration to pass to model engine. type: object additional_properties: true safety_model: From fbfc19de59acbda267b18ab95cb26cc12f124f3e Mon Sep 17 00:00:00 2001 From: Artem Chumachenko Date: Wed, 4 Mar 2026 18:11:36 +0100 Subject: [PATCH 2/3] another fix --- openapi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index f8ea662..e4418be 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2618,10 +2618,10 @@ paths: training_type: type: object default: null - oneOf: + nullable: 'true' + anyOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType' - - null description: The training type to use. If not provided, the job will default to LoRA training type. multimodal_params: $ref: '#/components/schemas/MultimodalParams' @@ -2762,10 +2762,10 @@ paths: training_type: type: object default: null + nullable: 'true' oneOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType' - - null description: The training type to use. If not provided, the job will default to LoRA training type. from_checkpoint: type: string From bf48ed899c04f345966cf2ebb0643cc840cbfe15 Mon Sep 17 00:00:00 2001 From: Artem Chumachenko Date: Wed, 4 Mar 2026 18:20:54 +0100 Subject: [PATCH 3/3] fix --- openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index e4418be..b81934e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2618,7 +2618,7 @@ paths: training_type: type: object default: null - nullable: 'true' + nullable: true anyOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType' @@ -2762,7 +2762,7 @@ paths: training_type: type: object default: null - nullable: 'true' + nullable: true oneOf: - $ref: '#/components/schemas/FullTrainingType' - $ref: '#/components/schemas/LoRATrainingType'