avante.nvim icon indicating copy to clipboard operation
avante.nvim copied to clipboard

bug: Apply All not work

Open hzd2020 opened this issue 9 months ago • 9 comments

Describe the bug

Image

I using latest nvim 、lazyvim 、 avante version, when press A and ac, hit me "added current buffer to file selector",but can't apply all to files, to see above screenshot,THK

To reproduce

No response

Expected behavior

No response

Installation method

Use lazy.nvim:

{
  "yetone/avante.nvim",
  event = "VeryLazy",
  lazy = false,
  version = false, -- set this if you want to always pull the latest change
  opts = {
    -- add any opts here
  },
  -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
  build = "make",
  -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
  dependencies = {
    "nvim-treesitter/nvim-treesitter",
    "stevearc/dressing.nvim",
    "nvim-lua/plenary.nvim",
    "MunifTanjim/nui.nvim",
  },
}

Environment

Environment

NVIM v0.10.4 Build type: Release LuaJIT 2.1.1736781742 Distro: macOS avante (latest)

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    -- add any other plugins here
  },
})

hzd2020 avatar Mar 24 '25 00:03 hzd2020

Who tell me how to solve?THK!

hzd2020 avatar Mar 26 '25 07:03 hzd2020

‌‌‌‌‌What provider are you using? Can I see your screenshot?

yetone avatar Mar 26 '25 09:03 yetone

Image:

Image

I using local lm studio and google gemini online , all does not write to files, THK

hzd2020 avatar Mar 26 '25 23:03 hzd2020

@yetone Please check

hzd2020 avatar Mar 28 '25 00:03 hzd2020

I guess the two lines are not at the beginning of your code block because the Gemini model is not suitable for Aider mode. For details, please see: https://github.com/yetone/avante.nvim/blob/main/cursor-planning-mode.md

Image

yetone avatar Mar 28 '25 02:03 yetone

@yetone Thanks,I use groq, apply normal use,if I need use local models, Do you have any good suggestions. THK

hzd2020 avatar Mar 28 '25 05:03 hzd2020

I also have a problem with 'a' and 'A'

andyl avatar Apr 03 '25 04:04 andyl

  • 'a' and 'A' stopped working for me with Claude Sonnet 3.7 + recent commits
  • 'a' and 'A' works fine with OpenAI 4o

willemt avatar Apr 29 '25 12:04 willemt

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 30 '25 02:05 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jun 04 '25 02:06 github-actions[bot]