mirror of
https://github.com/deepseek-ai/awesome-deepseek-integration.git
synced 2025-02-22 21:59:02 -05:00
Merge pull request #120 from yetone/fix/avante-docs
fix(avante): integrate avante.nvim using the latest solution
This commit is contained in:
commit
1708455a90
@ -25,16 +25,14 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
version = false, -- set this if you want to always pull the latest change
|
version = false, -- set this if you want to always pull the latest change
|
||||||
opts = {
|
opts = {
|
||||||
provider = "openai",
|
provider = "deepseek",
|
||||||
auto_suggestions_provider = "openai", -- Since auto-suggestions are a high-frequency operation and therefore expensive, it is recommended to specify an inexpensive provider or even a free provider: copilot
|
vendors = {
|
||||||
openai = {
|
deepseek = {
|
||||||
endpoint = "https://api.deepseek.com/v1",
|
__inherited_from = "openai",
|
||||||
model = "deepseek-chat",
|
api_key_name = "DEEPSEEK_API_KEY",
|
||||||
timeout = 30000, -- Timeout in milliseconds
|
endpoint = "https://api.deepseek.com",
|
||||||
temperature = 0,
|
model = "deepseek-coder",
|
||||||
max_tokens = 4096,
|
},
|
||||||
-- 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`
|
||||||
|
@ -25,16 +25,14 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
version = false, -- set this if you want to always pull the latest change
|
version = false, -- set this if you want to always pull the latest change
|
||||||
opts = {
|
opts = {
|
||||||
provider = "openai",
|
provider = "deepseek",
|
||||||
auto_suggestions_provider = "openai", -- Since auto-suggestions are a high-frequency operation and therefore expensive, it is recommended to specify an inexpensive provider or even a free provider: copilot
|
vendors = {
|
||||||
openai = {
|
deepseek = {
|
||||||
endpoint = "https://api.deepseek.com/v1",
|
__inherited_from = "openai",
|
||||||
model = "deepseek-chat",
|
api_key_name = "DEEPSEEK_API_KEY",
|
||||||
timeout = 30000, -- Timeout in milliseconds
|
endpoint = "https://api.deepseek.com",
|
||||||
temperature = 0,
|
model = "deepseek-coder",
|
||||||
max_tokens = 4096,
|
},
|
||||||
-- 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`
|
||||||
|
Loading…
Reference in New Issue
Block a user