Skip to content

Commit 70d51e7

Browse files
authored
Fix spec for downloading finetune models
The Spec says it will take an output location, which the API does not. This was a feature of the together-python library that will not be carried forward?
1 parent 7c02e70 commit 70d51e7

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

openapi.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ paths:
19111911
get:
19121912
tags: ['Fine-tuning']
19131913
summary: Download model
1914-
description: Download a compressed fine-tuned model or checkpoint to local disk.
1914+
description: Download a compressed fine-tuned model or checkpoint.
19151915
x-codeSamples:
19161916
- lang: Python
19171917
label: Together AI SDK (Python)
@@ -1982,20 +1982,16 @@ paths:
19821982
enum:
19831983
- merged
19841984
- adapter
1985+
- model_output_path
19851986
description: Specifies checkpoint type to download - `merged` vs `adapter`. This field is required if the checkpoint_step is not set.
1986-
- in: query
1987-
name: output
1988-
schema:
1989-
type: string
1990-
required: false
1991-
description: Specifies output file name for downloaded model. Defaults to `$PWD/{model_name}.{extension}`.
19921987
responses:
19931988
'200':
19941989
description: Successfully downloaded the fine-tuned model or checkpoint.
19951990
content:
1996-
application/json:
1991+
application/octet-stream:
19971992
schema:
1998-
$ref: '#/components/schemas/FinetuneDownloadResult'
1993+
type: string
1994+
format: binary
19991995
'400':
20001996
description: Invalid request parameters.
20011997
'404':

0 commit comments

Comments
 (0)