mirror of
https://github.com/deepseek-ai/awesome-deepseek-integration.git
synced 2025-04-02 18:24:04 +00:00
Merge pull request #139 from wenjinnn/main
doc: update codecompanion.nvim installation code snippet
This commit is contained in:
commit
41fa2ebc48
2 changed files with 4 additions and 8 deletions
|
@ -34,9 +34,8 @@ return {
|
|||
require("codecompanion").setup({
|
||||
adapters = {
|
||||
deepseek = function()
|
||||
return require("codecompanion.adapters").extend("openai_compatible", {
|
||||
return require("codecompanion.adapters").extend("deepseek", {
|
||||
env = {
|
||||
url = "https://api.deepseek.com",
|
||||
api_key = "YOUR_API_KEY",
|
||||
},
|
||||
})
|
||||
|
@ -71,9 +70,8 @@ later(function()
|
|||
require("codecompanion").setup({
|
||||
adapters = {
|
||||
deepseek = function()
|
||||
return require("codecompanion.adapters").extend("openai_compatible", {
|
||||
return require("codecompanion.adapters").extend("deepseek", {
|
||||
env = {
|
||||
url = "https://api.deepseek.com",
|
||||
api_key = "YOUR_API_KEY",
|
||||
},
|
||||
})
|
||||
|
|
|
@ -34,9 +34,8 @@ return {
|
|||
require("codecompanion").setup({
|
||||
adapters = {
|
||||
deepseek = function()
|
||||
return require("codecompanion.adapters").extend("openai_compatible", {
|
||||
return require("codecompanion.adapters").extend("deepseek", {
|
||||
env = {
|
||||
url = "https://api.deepseek.com",
|
||||
api_key = "YOUR_API_KEY",
|
||||
},
|
||||
})
|
||||
|
@ -71,9 +70,8 @@ later(function()
|
|||
require("codecompanion").setup({
|
||||
adapters = {
|
||||
deepseek = function()
|
||||
return require("codecompanion.adapters").extend("openai_compatible", {
|
||||
return require("codecompanion.adapters").extend("deepseek", {
|
||||
env = {
|
||||
url = "https://api.deepseek.com",
|
||||
api_key = "YOUR_API_KEY",
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue