From 7f0f529917ca739d4a74d286c37b9735b12726ce Mon Sep 17 00:00:00 2001 From: tsbhangu <8963343+tsbhangu@users.noreply.github.com> Date: Fri, 14 Nov 2025 19:26:52 +0000 Subject: [PATCH] update fern definition --- fern/apis/fai/openapi.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/fern/apis/fai/openapi.json b/fern/apis/fai/openapi.json index ad939d20f..2b474bbeb 100644 --- a/fern/apis/fai/openapi.json +++ b/fern/apis/fai/openapi.json @@ -6261,6 +6261,21 @@ ], "description": "The model to use for the chat completion" }, + "max_tokens": { + "anyOf": [ + { + "type": "integer", + "maximum": 1000.0, + "minimum": 100.0 + }, + { + "type": "null" + } + ], + "title": "Max Tokens", + "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.", + "default": 1000 + }, "system_prompt": { "anyOf": [ {