We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see https://github.com/CopilotC-Nvim/CopilotChat.nvim
The text was updated successfully, but these errors were encountered:
I use codecompaion.nvim for that:
{ "olimorris/codecompanion.nvim", dependencies = { "nvim-lua/plenary.nvim", "nvim-treesitter/nvim-treesitter", }, config = function() require("codecompanion").setup({ strategies = { chat = { adapter = "openai" }, inline = { adapter = "openai" }, }, adapters = { tabby = function() return require("codecompanion.adapters").extend("openai_compatible", { env = { url = "http://localhost:8080", -- optional: default value is ollama url http://127.0.0.1:11434 api_key = "auth_881a958cbb454e1aa87a3fa17e8e9649", -- optional: if your endpoint is authenticated chat_url = "/v1/chat/completions", -- optional: default value, override if different }, schema = { model = { default = "Qwen2-1.5B-Instruct", choices = { "Qwen2-1.5B-Instruct" }, }, }, }) end, }, }) end, keys = { { "<leader>ar", ":CodeCompanion ", desc = "Quick change", mode = { "n", "v" }, }, { "<leader>ao", ":CodeCompanionChat openai<CR>", desc = "Open OpenAI chat", mode = { "n", "v" }, }, }, }
Sorry, something went wrong.
No branches or pull requests
see https://github.com/CopilotC-Nvim/CopilotChat.nvim

The text was updated successfully, but these errors were encountered: