fix(neovim): use canonical Codex adapter name
This commit is contained in:
1 parent
b4443ea131
commit
0ea3a46059
1 file changed
+3
-3
@@ -143,7 +143,7 @@
|
||||
#
|
||||
# Neither adapter has a true zero-config mode that silently piggybacks on
|
||||
# an already-logged-in CLI session:
|
||||
# - codex_acp: extends the built-in `codex` preset. `defaults.auth_method`
|
||||
# - codex: extends the built-in `codex` preset. `defaults.auth_method`
|
||||
# accepts "api-key" | "chat-gpt" (confirmed against the docs above,
|
||||
# not "chatgpt"/"openai-api-key"/"codex-api-key"). "chat-gpt" reuses
|
||||
# your ChatGPT/Codex CLI login instead of an OPENAI_API_KEY.
|
||||
@@ -156,7 +156,7 @@
|
||||
plugins.codecompanion = {
|
||||
enable = true;
|
||||
settings = {
|
||||
interactions.chat.adapter = "claude_code"; # switch to "codex_acp" per-chat
|
||||
interactions.chat.adapter = "claude_code"; # switch to "codex" per-chat
|
||||
interactions.inline.adapter = "claude_code";
|
||||
adapters.acp = {
|
||||
opts.show_presets = false;
|
||||
@@ -169,7 +169,7 @@
|
||||
})
|
||||
end
|
||||
'';
|
||||
codex_acp.__raw = ''
|
||||
codex.__raw = ''
|
||||
function()
|
||||
return require("codecompanion.adapters").extend("codex", {
|
||||
defaults = {
|
||||
|
||||
Reference in new issue
Block a user