fix(avante): use instead, for ['local'] is deprecated

This commit is contained in:
3Xpl0it3r 2025-01-11 11:22:26 +08:00
parent ec66bd6215
commit 12d0c8c90a
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,8 @@ return {
timeout = 30000, -- Timeout in milliseconds
temperature = 0,
max_tokens = 4096,
["local"] = false,
-- optional
api_key_name = "OPENAI_API_KEY", -- default OPENAI_API_KEY if not set
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`

View File

@ -33,7 +33,8 @@ return {
timeout = 30000, -- Timeout in milliseconds
temperature = 0,
max_tokens = 4096,
["local"] = false,
-- optional
api_key_name = "OPENAI_API_KEY", -- default OPENAI_API_KEY if not set
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`