From 66e7e8ddeb420ee36a955aba709120fd8cefdf22 Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Mon, 27 Apr 2026 20:05:48 +0200 Subject: [PATCH 1/2] fix: align RL sample result token schema with string-or-integer token IDs --- openapi.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 50d29da..60d8f20 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8156,8 +8156,9 @@ components: - 456 - 789 items: - type: string - format: int64 + oneOf: + - type: string + - type: integer description: Generated token IDs logprobs: type: array From 8f5536f88699b7c99fe9d1f05d84b97151cc6e35 Mon Sep 17 00:00:00 2001 From: Gleb Khaykin Date: Mon, 27 Apr 2026 20:29:04 +0200 Subject: [PATCH 2/2] fix: align all RL schemas with string-or-integer oneof --- openapi.yaml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 60d8f20..f58c85d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7842,8 +7842,9 @@ components: type: string description: Generation stops when any of these strings is produced seed: - type: string - format: int64 + oneOf: + - type: string + - type: integer example: 42 description: Random seed for reproducibility RL.InputChunk: @@ -8116,8 +8117,9 @@ components: properties: step: description: Step number - type: string - format: uint64 + oneOf: + - type: string + - type: integer example: 100 RL.SampleResult: type: object @@ -8331,8 +8333,9 @@ components: description: Checkpoint ID this session was resumed from step: description: Current training step - type: string - format: uint64 + oneOf: + - type: string + - type: integer example: 100 default: "0" created_at: @@ -8458,8 +8461,9 @@ components: example: 123e4567-e89b-12d3-a456-426614174000 description: Unique identifier for the checkpoint step: - type: string - format: uint64 + oneOf: + - type: string + - type: integer example: 42 description: Training step at time of save created_at: @@ -8499,8 +8503,9 @@ components: example: 123e4567-e89b-12d3-a456-426614174000 description: Unique identifier for the checkpoint step: - type: string - format: uint64 + oneOf: + - type: string + - type: integer example: 42 description: Training step at time of save created_at: @@ -8564,8 +8569,9 @@ components: example: "https://..." description: Presigned URL for downloading the file size: - type: string - format: int64 + oneOf: + - type: string + - type: integer example: 123456789 description: File size in bytes RL.CheckpointDownloadResponse: