From 51b757c3476aad24b5b52bdcfa9aa1c6e663bd98 Mon Sep 17 00:00:00 2001 From: Adam Tajti Date: Wed, 9 Apr 2025 12:14:59 +0200 Subject: [PATCH] sets max_tokens avante.nvim/README.md (#432) Otherwise an error message is returned on a request that the max_tokens must be in the range of `[1, 8192]`. Apparently this property has been raised over this limit in the openai config, which this setup inherits from. --- docs/avante.nvim/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/avante.nvim/README.md b/docs/avante.nvim/README.md index 71860ee..007801c 100644 --- a/docs/avante.nvim/README.md +++ b/docs/avante.nvim/README.md @@ -32,6 +32,7 @@ return { api_key_name = "DEEPSEEK_API_KEY", endpoint = "https://api.deepseek.com", model = "deepseek-coder", + max_tokens = 8192, }, }, },