Skip to content
New issue

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

bug: Messed up markdown format in the sidebar that also causes insert to not work properly #1250

Open
penzur opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@penzur
Copy link

penzur commented Feb 12, 2025

Describe the bug

This problem only happens when I'm using the gemini provider with 2.0 flash model. I don't encounter this problem using claude.

Image

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 = {
     provider = "gemini",

      gemini = {
        model = "gemini-2.0-flash",
        temperature = 0,
        max_tokens = 4096,
      },

      behaviour = {
        auto_suggestions = false, -- Experimental stage
        auto_set_highlight_group = true,
        auto_set_keymaps = true,
        auto_apply_diff_after_generation = false,
        support_paste_from_clipboard = false,
      },
  },
  -- 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

Neovim

NVIM v0.10.3
Build type: Release
LuaJIT 2.1.1713484068

System

Linux 5.15.167.4-microsoft-standard-WSL2

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
  },
})
@penzur penzur added the bug Something isn't working label Feb 12, 2025
@vighd
Copy link

vighd commented Feb 18, 2025

I have the same issue, with the same provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants