Merge pull request #75 from 3Xpl0it3r/main

fix(avante): use  instead, for ['local'] is deprecated
This commit is contained in:
Huang Panpan 2025-01-13 11:24:51 +08:00 committed by GitHub
commit 4178d67d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,8 @@ return {
timeout = 30000, -- Timeout in milliseconds timeout = 30000, -- Timeout in milliseconds
temperature = 0, temperature = 0,
max_tokens = 4096, 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` -- 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 timeout = 30000, -- Timeout in milliseconds
temperature = 0, temperature = 0,
max_tokens = 4096, 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` -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`