Closed you-n-g closed 1 year ago
2>/dev/null is not necessary in the latest version.w
2>/dev/null
In my environment, it will result in Config 'api_key_cmd' did not return a value when executed if 2>/dev/null is not removed.
Config 'api_key_cmd' did not return a value when executed
Besides, the ~ can't be recognized in the latest version. So we have to use vim.fn.expand("$HOME") instead of ~
~
vim.fn.expand("$HOME")
https://github.com/jackMort/ChatGPT.nvim/issues/220 is a related issue.
2>/dev/null
is not necessary in the latest version.wIn my environment, it will result in
Config 'api_key_cmd' did not return a value when executed
if2>/dev/null
is not removed.