Skip to content

Commit da1174b

Browse files
committed
Update supported params for models.
1 parent 5b989db commit da1174b

4 files changed

Lines changed: 9444 additions & 10716 deletions

File tree

docs/http-reference/oaiCompliant/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ components:
129129
description: Conversation messages (OpenAI chat format)
130130
items:
131131
$ref: '#/components/schemas/ChatMessage'
132-
max_tokens:
132+
max_completion_tokens:
133133
type: integer
134134
description: Maximum number of tokens to generate
135135
default: 256

docs/http-reference/openapi.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ paths:
102102
type: object
103103
description: Model-specific parameters. See model documentation for details.
104104
properties:
105-
min_length:
106-
type: integer
107-
description: Minimum length of the response.
108-
max_length:
105+
max_new_tokens:
109106
type: integer
110107
description: Maximum length of the response.
111108
temperature:

0 commit comments

Comments
 (0)