You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the "HakonHarnes/img-clip.nvim" plugin to paste images only results in the image path format as follows: /home/dav/assets/2024-09-19-23-18-34.png, but when sending a question to AI for answering, the answer cannot follow the content of the image to return the result, as if the AI cannot access the content of the image. My configuration is as follows:
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
},
})
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the "HakonHarnes/img-clip.nvim" plugin to paste images only results in the image path format as follows: /home/dav/assets/2024-09-19-23-18-34.png, but when sending a question to AI for answering, the answer cannot follow the content of the image to return the result, as if the AI cannot access the content of the image. My configuration is as follows:
To reproduce
return {
{
"yetone/avante.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
keys = {
{ "p", "PasteImage", desc = "Paste image from system clipboard" },
}
}
Expected behavior
No response
Environment
NVIM v0.11.0-dev-757+g5931f780e
Build type: RelWithDebInfo
ArchLinux
Repro
The text was updated successfully, but these errors were encountered: