Skip to content

Commit e0e64c0

Browse files
dsinghvitsbhangu
andauthored
Update fern definition (#2040)
Co-authored-by: tsbhangu <8963343+tsbhangu@users.noreply.github.com>
1 parent cdb658a commit e0e64c0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

fern/apis/fai/openapi.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6261,6 +6261,21 @@
62616261
],
62626262
"description": "The model to use for the chat completion"
62636263
},
6264+
"max_tokens": {
6265+
"anyOf": [
6266+
{
6267+
"type": "integer",
6268+
"maximum": 1000.0,
6269+
"minimum": 100.0
6270+
},
6271+
{
6272+
"type": "null"
6273+
}
6274+
],
6275+
"title": "Max Tokens",
6276+
"description": "The maximum number of tokens to generate. Defaults to 1000. Note: setting a token count lower than 400 may result in incomplete responses. You can add a custom system prompt to let the model know the maximum token count it can use.",
6277+
"default": 1000
6278+
},
62646279
"system_prompt": {
62656280
"anyOf": [
62666281
{

0 commit comments

Comments
 (0)