refactor: providers config (#2117)

This commit is contained in:
yetone
2025-06-03 04:01:01 +08:00
committed by GitHub
parent b89e6d84a0
commit e9ab2ca2fd
12 changed files with 327 additions and 251 deletions

View File

@@ -28,8 +28,8 @@ Then enable it in avante.nvim:
--- ... existing behaviours
enable_cursor_planning_mode = true, -- enable cursor planning mode!
},
vendors = {
--- ... existing vendors
providers = {
--- ... existing providers
groq = { -- define groq provider
__inherited_from = 'openai',
api_key_name = 'GROQ_API_KEY',