Skip to content

Commit 8d7897b

Browse files
authored
Merge pull request #221 from togethercomputer/artekchuak/change-training-type-default
Finally making TrainingType for FineTune jobs optional
2 parents 8fe065c + bf48ed8 commit 8d7897b

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

openapi.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,7 +2621,8 @@ paths:
26212621
training_type:
26222622
type: object
26232623
default: null
2624-
oneOf:
2624+
nullable: true
2625+
anyOf:
26252626
- $ref: '#/components/schemas/FullTrainingType'
26262627
- $ref: '#/components/schemas/LoRATrainingType'
26272628
description: The training type to use. If not provided, the job will default to LoRA training type.
@@ -2764,6 +2765,7 @@ paths:
27642765
training_type:
27652766
type: object
27662767
default: null
2768+
nullable: true
27672769
oneOf:
27682770
- $ref: '#/components/schemas/FullTrainingType'
27692771
- $ref: '#/components/schemas/LoRATrainingType'
@@ -4599,7 +4601,7 @@ paths:
45994601
schema:
46004602
$ref: '#/components/schemas/GPUClustersSharedVolumes'
46014603
x-codeSamples:
4602-
- lang: Python
4604+
- lang: Python
46034605
label: Together AI SDK (v2)
46044606
source: |
46054607
from together import Together
@@ -6975,7 +6977,7 @@ paths:
69756977
schema:
69766978
description: Request ID returned from the submit endpoint
69776979
type: string
6978-
- name: model
6980+
- name: model
69796981
in: query
69806982
required: true
69816983
schema:
@@ -7124,7 +7126,7 @@ paths:
71247126
application/json:
71257127
schema:
71267128
$ref: '#/components/schemas/RpcStatus'
7127-
7129+
71287130
/rl/training-sessions/{session_id}:
71297131
get:
71307132
summary: Get training session
@@ -8989,7 +8991,7 @@ components:
89898991
compliance:
89908992
const: hipaa
89918993
chat_template_kwargs:
8992-
description: Additional configuration to pass to model engine.
8994+
description: Additional configuration to pass to model engine.
89938995
type: object
89948996
additional_properties: true
89958997
safety_model:

0 commit comments

Comments
 (0)