sets max_tokens avante.nvim/README.md

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.
This commit is contained in:
Adam Tajti 2025-04-07 14:43:44 +02:00 committed by GitHub
parent e2066d2da1
commit 620bcfd386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,7 @@ return {
api_key_name = "DEEPSEEK_API_KEY", api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com", endpoint = "https://api.deepseek.com",
model = "deepseek-coder", model = "deepseek-coder",
max_tokens = 8192,
}, },
}, },
}, },