Skip to content

Commit cac3f6a

Browse files
committed
refactor: 🔨
1 parent cbcec1e commit cac3f6a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7707,6 +7707,7 @@ components:
77077707
$ref: '#/components/schemas/RL.EncodedText'
77087708
RL.ListMeta:
77097709
type: object
7710+
description: Pagination metadata for list responses
77107711
properties:
77117712
limit:
77127713
type: integer
@@ -7919,6 +7920,7 @@ components:
79197920
$ref: '#/components/schemas/RL.LossInputs'
79207921
RL.OptimStepOperation:
79217922
type: object
7923+
description: Async optimizer step operation
79227924
required:
79237925
- id
79247926
- status
@@ -7932,10 +7934,13 @@ components:
79327934
description: Operation status
79337935
output:
79347936
$ref: '#/components/schemas/RL.OptimStepResult'
7937+
description: Result on success
79357938
error:
79367939
$ref: '#/components/schemas/RL.TrainingOperationError'
7940+
description: Error details on failure
79377941
RL.SampleOperation:
79387942
type: object
7943+
description: Async sample operation
79397944
required:
79407945
- id
79417946
- status
@@ -7950,10 +7955,13 @@ components:
79507955
description: Operation status
79517956
output:
79527957
$ref: '#/components/schemas/RL.SampleResult'
7958+
description: Result on success
79537959
error:
79547960
$ref: '#/components/schemas/RL.TrainingOperationError'
7961+
description: Error details on failure
79557962
RL.OptimStepResult:
79567963
type: object
7964+
description: Result of an optimizer step operation
79577965
required:
79587966
- step
79597967
properties:
@@ -7964,6 +7972,7 @@ components:
79647972
example: 100
79657973
RL.SampleResult:
79667974
type: object
7975+
description: Result of a sample operation
79677976
required:
79687977
- rollouts
79697978
properties:
@@ -7975,6 +7984,7 @@ components:
79757984
description: Completions grouped by prompt
79767985
RL.SampleRollout:
79777986
type: object
7987+
description: Completions generated for a single prompt
79787988
required:
79797989
- sequences
79807990
properties:
@@ -7986,6 +7996,7 @@ components:
79867996
description: Completions generated for one prompt
79877997
RL.SampleSequence:
79887998
type: object
7999+
description: A single generated completion sequence with tokens and logprobs
79898000
required:
79908001
- tokens
79918002
properties:
@@ -8015,6 +8026,7 @@ components:
80158026
description: Reason for stopping generation
80168027
RL.ForwardBackwardOperation:
80178028
type: object
8029+
description: Async forward-backward pass operation
80188030
required:
80198031
- id
80208032
- status
@@ -8029,10 +8041,13 @@ components:
80298041
description: Operation status
80308042
output:
80318043
$ref: '#/components/schemas/RL.ForwardBackwardResult'
8044+
description: Result on success
80328045
error:
80338046
$ref: '#/components/schemas/RL.TrainingOperationError'
8047+
description: Error details on failure
80348048
RL.ForwardBackwardResult:
80358049
type: object
8050+
description: Result of a forward-backward pass operation
80368051
required:
80378052
- loss
80388053
properties:
@@ -8052,6 +8067,7 @@ components:
80528067
format: double
80538068
RL.TrainingOperationError:
80548069
type: object
8070+
description: Error details for a failed training operation
80558071
properties:
80568072
code:
80578073
description: Application error code
@@ -8109,6 +8125,7 @@ components:
81098125
- TRAINING_SESSION_STATUS_EXPIRED
81108126
RL.TrainingSession:
81118127
type: object
8128+
description: A training session and its current state
81128129
required:
81138130
- id
81148131
- status
@@ -8167,6 +8184,7 @@ components:
81678184
$ref: '#/components/schemas/RL.LoraConfig'
81688185
RL.TrainingSessionsListResponse:
81698186
type: object
8187+
description: Paginated list of training sessions
81708188
properties:
81718189
data:
81728190
type: array
@@ -8229,6 +8247,7 @@ components:
82298247
default: "0.1"
82308248
RL.InferenceCheckpointOperation:
82318249
type: object
8250+
description: Async inference checkpoint operation
82328251
required:
82338252
- id
82348253
- status
@@ -8243,10 +8262,13 @@ components:
82438262
description: Operation status
82448263
output:
82458264
$ref: '#/components/schemas/RL.InferenceCheckpointResult'
8265+
description: Result on success
82468266
error:
82478267
$ref: '#/components/schemas/RL.TrainingOperationError'
8268+
description: Error details on failure
82488269
RL.InferenceCheckpointResult:
82498270
type: object
8271+
description: Result of an inference checkpoint operation
82508272
required:
82518273
- model_name
82528274
properties:
@@ -8319,6 +8341,7 @@ components:
83198341
description: Timestamp when the checkpoint was created
83208342
RL.TrainingCheckpointResult:
83218343
type: object
8344+
description: Result of a save training checkpoint operation
83228345
required:
83238346
- checkpoint_id
83248347
properties:
@@ -8328,6 +8351,7 @@ components:
83288351
description: ID of the saved training checkpoint (use for resume via Start)
83298352
RL.TrainingCheckpointOperation:
83308353
type: object
8354+
description: Async save training checkpoint operation
83318355
required:
83328356
- id
83338357
- status
@@ -8342,8 +8366,10 @@ components:
83428366
description: Operation status
83438367
output:
83448368
$ref: '#/components/schemas/RL.TrainingCheckpointResult'
8369+
description: Result on success
83458370
error:
83468371
$ref: '#/components/schemas/RL.TrainingOperationError'
8372+
description: Error details on failure
83478373
RL.CheckpointVariant:
83488374
type: string
83498375
enum:
@@ -8375,6 +8401,7 @@ components:
83758401
description: File size in bytes
83768402
RL.CheckpointDownloadResponse:
83778403
type: object
8404+
description: Presigned download URLs for a checkpoint's files
83788405
required:
83798406
- data
83808407
properties:

0 commit comments

Comments
 (0)