All my CodeCompanion methods gone after upgrading to 9.1.0 #397
Answered
by
bassamsdata
PyDataBlog
asked this question in
Q&A
-
Plugin working fine all day until I updated with lazy. Now, all commands gone. logs look fine [ERROR] 2024-10-15 20:05:04
Error 401: {"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}
[ERROR] 2024-11-03 22:13:06
Error: {"error":{"message":"model access is not permitted per policy settings","param":"","code":"","type":""}}
[ERROR] 2024-11-03 22:13:26
Error: {"error":{"message":"model access is not permitted per policy settings","param":"","code":"","type":""}}
[ERROR] 2024-11-03 22:13:37
Error: {"error":{"message":"model access is not permitted per policy settings","param":"","code":"","type":""}}
[ERROR] 2024-11-03 22:40:55
Error: Internal Server Error
[ERROR] 2024-11-03 22:42:18
Error: Internal Server Error
[ERROR] 2024-11-03 22:42:22
Error: Internal Server Error
[ERROR] 2024-11-03 22:42:33
Error: Internal Server Error check-health also fine: ==============================================================================
codecompanion: require("codecompanion.health").check()
- Neovim version: 0.10.2
- Log file: /Users/xxx/.local/state/nvim/codecompanion.log
Plugins: ~
- OK plenary.nvim installed
- OK nvim-treesitter installed
- OK nvim-cmp installed
- OK telescope.nvim installed
- OK dressing.nvim installed
Tree-sitter parsers: ~
- OK markdown parser installed
- OK yaml parser installed
Libraries: ~
- OK curl installed return {
"olimorris/codecompanion.nvim",
lazy = true,
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"hrsh7th/nvim-cmp", -- Optional: For using slash commands and variables in the chat buffer
"nvim-telescope/telescope.nvim", -- Optional: For using slash commands
{
"MeanderingProgrammer/render-markdown.nvim",
ft = { "markdown", "codecompanion" }, -- Optional: For prettier markdown rendering
{ "stevearc/dressing.nvim", opts = {} }, -- Optional: Improves `vim.ui.select`
},
config = true,
},
} Not an editor command CodeCompanionChat Toggle |
Beta Was this translation helpful? Give feedback.
Answered by
bassamsdata
Nov 4, 2024
Replies: 1 comment 1 reply
-
I was about to upgrade to the latest release when I noticed this issue. I believe there might be a slight mistake in the config. Could you please try this: return {
"olimorris/codecompanion.nvim",
lazy = true,
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"hrsh7th/nvim-cmp", -- Optional: For using slash commands and variables in the chat buffer
"nvim-telescope/telescope.nvim", -- Optional: For using slash commands
{
"MeanderingProgrammer/render-markdown.nvim",
ft = { "markdown", "codecompanion" }, -- Optional: For prettier markdown rendering
},
{ "stevearc/dressing.nvim", opts = {} }, -- Optional: Improves `vim.ui.select`
},
config = true,
}
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PyDataBlog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was about to upgrade to the latest release when I noticed this issue. I believe there might be a slight mistake in the config. Could you please try this: