feat: update openai/azure params (#1604)
* feat(openai): use max_completion_tokens & reasoning_effort params * feat(openai): use developer prompt for reasoning models * docs: update openai config in readme * refactor: follow lua style quotes * fix(azure): rename max_tokens to max_completion_tokens * refactor(azure): remove duplicate field * refactor: update types * refactor(azure): update type
This commit is contained in:
@@ -35,7 +35,7 @@ Then enable it in avante.nvim:
|
||||
api_key_name = 'GROQ_API_KEY',
|
||||
endpoint = 'https://api.groq.com/openai/v1/',
|
||||
model = 'llama-3.3-70b-versatile',
|
||||
max_tokens = 32768, -- remember to increase this value, otherwise it will stop generating halfway
|
||||
max_completion_tokens = 32768, -- remember to increase this value, otherwise it will stop generating halfway
|
||||
},
|
||||
},
|
||||
--- ... existing configurations
|
||||
|
||||
Reference in New Issue
Block a user