feat: support codex acp provider (#2774)

This commit is contained in:
yetone
2025-10-16 01:26:04 +08:00
committed by GitHub
parent 4fc83dc308
commit 4a68e29165
6 changed files with 60 additions and 4 deletions

View File

@@ -262,6 +262,13 @@ M._defaults = {
command = "goose",
args = { "acp" },
},
["codex"] = {
command = "codex-acp",
env = {
NODE_NO_WARNINGS = "1",
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY"),
},
},
},
---To add support for custom provider, follow the format below
---See https://github.com/yetone/avante.nvim/wiki#custom-providers for more details