Commit Graph

96 Commits

Author SHA1 Message Date
Dmitry Torokhov
34907fc1cd refactor(history): start moving history-related code into avante/history
The utils module has grown too big and contains unrelated functionality.
Start moving code related to managing history messages comprising chat
history into lua/avante/history module to keep the code more manageable.
2025-07-16 12:49:15 +08:00
yetone
127a12a878 fix: trim escapes for write_to_file tool (#2455) 2025-07-16 12:04:22 +08:00
yetone
154e5f578f feat: add timeout for bash tool (#2451) 2025-07-15 20:46:15 +08:00
yetone
b8bb0fd969 refactor: llm tool parameters (#2449) 2025-07-15 16:40:25 +08:00
Raul Luzetti
e06f55d353 fix(replace_in_file): added a replace substring logic (#2438) 2025-07-14 10:14:16 +08:00
yetone
14cfccdba9 fix: do not use str_replace_editor (#2428) 2025-07-10 10:17:48 +08:00
yetone
935234981b fix: missing new_str (#2407) 2025-07-04 00:38:17 +08:00
yetone
9bc5bf8053 fix: breaklines (#2403) 2025-07-03 14:43:44 +08:00
yetone
203861bb71 feat: init project (#2395) 2025-07-02 18:44:30 +08:00
yetone
1a6d1d6af4 fix: the content is table (#2394) 2025-07-02 17:09:46 +08:00
yetone
66c3b6665c fix: add missing session-ctx (#2393) 2025-07-02 16:58:15 +08:00
guanghechen
f523710e95 fix(#1939): fix the logic of ignore-checking, prefer to call the git check-ignore for git repos (#2383) 2025-07-01 17:19:17 +08:00
Peter Cardenas
bc96007c76 fix: get_bufnr errors on edited file (#2374) 2025-06-30 18:53:22 +08:00
Peter Cardenas
fb71d5d5c6 fix: get diagnostics tool (#2357) 2025-06-28 20:08:47 +08:00
yetone
04aeb3caf4 fix: the edge case in replace_in_file (#2351) 2025-06-27 15:46:45 +08:00
yetone
7738503c1d fix: open buffer (#2340) 2025-06-26 16:52:23 +08:00
yetone
0e732d194b fix: write path (#2338) 2025-06-26 16:18:10 +08:00
yetone
07b703dbd5 fix: ReAct parser (#2330) 2025-06-25 16:55:10 +08:00
yetone
aa4fa9c89d fix: refine attempt_completion prompts (#2320) 2025-06-24 19:15:49 +08:00
yetone
3033556d5b fix: tool calling (#2297) 2025-06-22 21:50:26 +08:00
yetone
7b36aa828b fix: create parent dir (#2296) 2025-06-22 15:46:16 +08:00
yetone
30fab46ca1 fix: compact memory (#2278) 2025-06-21 00:55:36 +08:00
yetone
babb114bc4 fix: swap diff incoming and deleting (#2273) 2025-06-20 14:26:02 +08:00
yetone
25be666377 fix: respect the minimize_diff configuration (#2267) 2025-06-19 17:26:19 +08:00
yetone
5f0c2f1252 fix: clear hints (#2265) 2025-06-19 15:09:58 +08:00
yetone
b558408b5b fix: avoid freeze confirmation window (#2255) 2025-06-18 15:12:16 +08:00
yetone
2ed75a2f97 refactor: rename thinking => think (#2247) 2025-06-17 14:08:03 +08:00
Andre-Philippe Paquet
59ad32efcf fix: don’t execute incomplete streaming commands (#2245) 2025-06-17 10:56:58 +08:00
yetone
320bf2cee1 fix: remove the_diff argument (#2246) 2025-06-17 10:36:31 +08:00
yetone
e8aae6c1dd fix: copilot replace_in_file example (#2239)
Co-authored-by: Andre-Philippe Paquet <appaquet@gmail.com>
2025-06-16 20:40:19 +08:00
yetone
b390bb06e7 fix: check path is nil (#2235) 2025-06-16 12:13:39 +08:00
yetone
9e074998ee fix: command not provided (#2231) 2025-06-16 01:30:00 +08:00
yetone
fcf457ed7f fix: refine tools (#2229) 2025-06-16 01:27:39 +08:00
yetone
ad05a802f9 feat: todos (#2184) 2025-06-15 15:10:07 +08:00
yetone
fdf4716ec0 fix: fuzzy match (#2221) 2025-06-13 16:46:55 +08:00
Lite Ye
0cce955816 fix: set confirm_popup to nil as soon as the callback is called (#2191) 2025-06-09 14:03:46 +08:00
Lite Ye
60209c3d46 fix: only set keymap for the current buffer in replace_in_file (#2190) 2025-06-09 14:03:34 +08:00
yetone
fc0cfb5ec6 fix: streaming diff timestamp map is nil (#2185) 2025-06-07 16:58:30 +08:00
yetone
a537945573 fix: streaming diff debouncing (#2174) 2025-06-06 15:47:31 +08:00
yetone
247fabd694 fix: the issue of losing the last line and diff performance problems when replace_in_file (#2171) 2025-06-06 00:02:58 +08:00
yetone
801adc4692 feat: delete tool use messages tool (#2158) 2025-06-05 02:51:46 +08:00
yetone
af8d373f22 fix: change view limit (#2157) 2025-06-05 01:45:31 +08:00
yetone
9efb9e1029 fix: attempt_completion ignore open command (#2151) 2025-06-05 00:06:49 +08:00
yetone
3a77a591b3 optimize: streaming diff performance (#2150) 2025-06-04 23:28:28 +08:00
Eli Oshinsky
16e041ff9a feat: Add auto_approve_tool_permissions config allowing the confirm dialogs to be disabled in agentic mode (#2110)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-04 23:02:15 +08:00
yetone
220594a66f optimize: streaming diff performance (#2145) 2025-06-04 15:45:12 +08:00
yetone
fc0e78e88f fix: gemini ReAct (#2132) 2025-06-04 01:14:06 +08:00
yetone
b89e6d84a0 fix: update view tool prompts (#2116) 2025-06-02 23:17:31 +08:00
yetone
647a459a2b feat: streaming attempt completion (#2113) 2025-06-02 21:21:05 +08:00
yetone
746f071b37 feat: streaming diff (#2107) 2025-06-02 16:44:33 +08:00