Use Poolside in Neovim with CodeCompanion - Poolside

Prerequisites

Steps

  1. Configure Poolside as an ACP-backed adapter in your CodeCompanion configuration.
   {
          "olimorris/codecompanion.nvim",
          dependencies = {
              "nvim-lua/plenary.nvim",
              "nvim-treesitter/nvim-treesitter",
          },
          opts = {
              strategies = {
                  chat = { adapter = "poolside" },
                  inline = { adapter = "poolside" },
              },
              adapters = {
                  poolside = function()
                      return {
                          name = "poolside",
                          formatted_name = "Poolside",
                          type = "acp",
                          commands = {
                              default = { "pool", "acp" },
                          },
                      }
                  end,
              },
          },
   }
  1. Restart Neovim or reload your CodeCompanion configuration.
  2. Select the poolside adapter in CodeCompanion.

Related resources