703 Commits

Author SHA1 Message Date
yetone
7fa7b0fa3b
feat: support searchapi () 2025-02-17 00:36:00 +08:00
yetone
c60dc6c316
fix: case insensitive () 2025-02-14 12:28:39 +08:00
Hanchin Hsieh
1a4f2575d6 fix(utils): get non-nil filetype 2025-02-13 16:58:35 +08:00
Hanchin Hsieh
16bcbc0229 Revert "Fix Makefile shell usage"
This reverts commit 8f325129498ead873d7da7abfd5e0eef72d5ef2f.
2025-02-13 15:31:02 +08:00
Alexandre Balon-Perin
8f32512949 Fix Makefile shell usage 2025-02-13 15:19:22 +08:00
yetone
25111c6df3
fix: incorrect minimize snippets () 2025-02-13 13:39:24 +08:00
yetone
763dbe064d
fix: line content () 2025-02-13 13:23:28 +08:00
yetone
76c06ed277
fix: tools return json () 2025-02-13 11:54:54 +08:00
yetone
ce55d7ac9e
refactor: better value name () 2025-02-13 01:39:02 +08:00
yetone
9bad591e8a
fix: lowercase filepath bad case () 2025-02-12 22:59:15 +08:00
yetone
f8636315a5
fix: get filetype () 2025-02-12 22:19:55 +08:00
yetone
3a7277386f
fix: mkdir for new file () 2025-02-12 22:02:12 +08:00
Giuseppe Capasso
4f0bf40a9d
Fix: musl build error () 2025-02-12 21:52:38 +08:00
yetone
c89741e98b
fix: base prompts () 2025-02-12 21:46:11 +08:00
yetone
456f7ccdab
fix: search/replace tag bad cases () 2025-02-11 23:49:37 +08:00
yetone
72edea97cb
optimize: prompts () 2025-02-11 23:11:03 +08:00
Thomas Müller
f660350cdc
fix(tavily): remove time restriction of 1 day () 2025-02-11 15:57:38 +08:00
guanghechen
31c1701660
📝 docs(README): update customized file_selector example ()
* 📝 docs(README): update customized file_selector example

* fix types
2025-02-11 15:57:15 +08:00
yetone
3305bdb769
Revert "Update Cargo.toml with mlua dependency and features for successful bu…" ()
This reverts commit cdacfce90134f02a9e63faaa63736ae05223d1b0.
2025-02-11 15:56:11 +08:00
yetone
b73b3d7888
fix: file not found () 2025-02-11 15:54:57 +08:00
b9Joker108
cdacfce901
Update Cargo.toml with mlua dependency and features for successful build as per my manual build on an aarch64 proot-distro alias of Debian in an unrooted Termux host. NOTE: This is soon to be my first official OS commit and soon to be my first official pull request. () 2025-02-11 13:50:26 +08:00
guanghechen
6d116fac36
feat(file_selector): support customized file selector method () 2025-02-11 13:49:00 +08:00
synic
0bfbd39ebc
fix(sidebar): fix various focus errors ()
This fixes a bunch of errors I was getting when switching away from the
avante sidebar and then back. Sometimes the sidebar would lose track of
the various windows, and you'd get errors like this:

```
|| stack traceback:
|| 	...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2350: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2349>
|| Error detected while processing BufLeave Autocommands for "<buffer=294>":
|| Error executing lua callback: ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2398: attempt to index field 'selected_files_container' (a nil value)
```

Or this one:

```
|| stack traceback:
|| 	...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2350: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2349>
|| Error detected while processing BufLeave Autocommands for "<buffer=294>":
|| Error executing lua callback: ...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:2398: attempt to index field 'selected_files_container' (a nil value)
```

This change does the following:

1. Proper order of cleanup in `reset()`
2. Proper cleanup in `create_selected_files_container()`
2025-02-11 13:42:23 +08:00
yetone
62c29b3d0c
fix: incorrect replace end tag () 2025-02-11 12:11:16 +08:00
Thomas Müller
3f8b6d07ba
feat(sidebar): add member function to check whether the sidebar is focused () 2025-02-11 11:36:38 +08:00
Thomas Müller
a6ae8ad4b7
fix(sidebar): reset cursor to beginning of prompt on submit ()
This fix is required for users with vim.o.virtualedit="all". Otherwise,
the cursor remains at the end of the prompt and has to be manually moved
back before entering the next prompt.
2025-02-11 11:36:19 +08:00
Thomas Müller
8d82abe043
feat: expose whether the llm is currently generating content () 2025-02-11 11:35:28 +08:00
Thomas Müller
63136fd92f
fix(suggestions): make history more faithful to future input ()
* fix(suggestions): make history more faithful to future input

* fix(suggestions): put cursor to the end of line in suggestion history
2025-02-11 02:08:58 +08:00
Oliver Lorton
cc46386130
fix: when dev icons absent ()
* Add helper function to check for dev icon availability

* Add function to display dev icon or nothing if icon plugins unavailable

* Fix existing use of icons

* Reformat with stylua
2025-02-11 01:43:01 +08:00
Omar Crespo
6e18616c16
fix: dual boost only in planning mode () 2025-02-11 01:40:49 +08:00
Amin Roosta
c07d396e30
feat(web_search_engine): adds google as a provider () 2025-02-10 13:21:55 +08:00
yetone
59fdbd72a4
fix: get abs path () 2025-02-10 02:08:58 +08:00
yetone
26e40e5483
fix: apply non-existent file () 2025-02-09 01:56:59 +08:00
Daniel Tabuenca
987275c64a
feat: bedrock temporary credentials support () 2025-02-09 01:40:20 +08:00
yetone
4ffec5a039
fix: search/replace bad case () 2025-02-09 01:39:00 +08:00
yetone
e70b0fa243
fix: incorrect indentation () 2025-02-09 00:21:32 +08:00
yetone
faa6728d4b
fix: try to fix suggestions () 2025-02-07 16:26:35 +08:00
yetone
e8b0f33f18
fix(prompts): use run_command if possible () 2025-02-07 15:33:23 +08:00
yetone
c2b3cd7a32
fix: check gemini api key () 2025-02-07 13:21:45 +08:00
Dominik Link
12cf3c0418
feat(docs): added Packer to the readme and fixed vim-plug to also use render-markdown because if not it breaks () 2025-02-07 11:04:35 +08:00
yetone
fd64662fa2
fix: planning prompts ()
* fix: planning prompts

* fix: base prompts
2025-02-06 23:16:49 +08:00
yetone
29a71b2976
fix: insert conflict contents () 2025-02-06 22:24:59 +08:00
yetone
2adf335344
fix: release html2md () 2025-02-06 20:17:29 +08:00
yetone
152d0c609c
feat: serpapi () 2025-02-06 20:10:55 +08:00
yetone
402c7f9665
fix: copilot tool histories () 2025-02-06 19:19:50 +08:00
yetone
1ec12907a2
feat: fetch tool () 2025-02-06 19:13:47 +08:00
yetone
77e20fd088
feat(docs): complete tool use todo task () 2025-02-06 16:53:01 +08:00
yetone
5f6612fb8c
fix: support multiple tool use () 2025-02-06 16:41:28 +08:00
yetone
f2bd4adba4
feat: add add_file_to_context tool () 2025-02-06 16:00:14 +08:00
yetone
4f41154e83
feat: tool logs () 2025-02-06 15:15:44 +08:00