Commit Graph

293 Commits

Author SHA1 Message Date
TKnightz
95d58435d3 feat: add icon highlights in selected files section (#1929) 2025-04-30 13:34:26 +08:00
momexn
d5dd907ac8 fix: prevent extmark line number from being negative in render_state (#1941) 2025-04-30 13:29:17 +08:00
doodleEsc
cee31ebb7f feat: allow excluding filetypes from selector autolaunch. (#1937)
Co-authored-by: doodleEsc <cokie@foxmail.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-30 03:12:45 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
yetone
1eb0fd8253 fix: filter out empty filepath snippets (#1885) 2025-04-17 00:03:37 +08:00
yetone
33f95aedde feat: streaming json parser (#1883) 2025-04-16 23:41:38 +08:00
Markus Koller
284df877a2 Fixes to adjusting window sizes (#1590) 2025-04-16 14:26:07 +08:00
aniaan
dd83343e53 refactor(Sidebar): Introduce Utils.is_valid_container to simplify container checks (#1882) 2025-04-16 14:18:49 +08:00
yetone
1fdb1a7b84 fix: send the latest file content each time (#1879) 2025-04-15 20:16:13 +08:00
zenk
e295fe82f0 feat(windows): add fillchars option for the windows (#1854)
Co-authored-by: zhangkai.zju <zhangkai.zju@bytedance.com>
2025-04-11 12:28:38 +08:00
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
yetone
87ea15bb94 fix: follow the prev slash command strategy (#1835) 2025-04-08 20:01:57 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
Jae-Won Chung
40ffc0f5fa Use vim.hl if available (#1809) 2025-04-07 15:04:37 +08:00
yetone
d698dbe17a fix: badcase in gpt-4o (#1757) 2025-03-28 12:57:49 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
yetone
a06bb97db6 fix: close the hint win when the input win is closed (#1734) 2025-03-26 22:20:39 +08:00
yetone
39787969c7 fix: memory (#1718) 2025-03-26 00:45:54 +08:00
yetone
d82eb8534e fix: prompts (#1715) 2025-03-25 23:16:03 +08:00
yetone
a2aec079c9 feat: extract str_replace tool (#1710) 2025-03-25 18:43:57 +08:00
yetone
8c4244b940 fix: decrease history max tokens (#1709) 2025-03-25 16:07:45 +08:00
yetone
f84cb2896d fix: prohibit repeated reading of the file (#1708) 2025-03-25 15:54:47 +08:00
yetone
976fb4177c fix: refine tools (#1706)
* fix: refine tools

* fix: missing break line

* fix: view a in-context file

* fix: remove create_file tests
2025-03-25 11:17:48 +08:00
yetone
5e0cc39210 fix: special handling wehn vim diff count_a is 0 (#1698) 2025-03-24 18:19:17 +08:00
yetone
e33d648d71 fix: special handling wehn vim diff count_a is 0 (#1697) 2025-03-24 17:56:10 +08:00
yetone
642020ff2d fix: selected code container winhighlight (#1695) 2025-03-24 16:59:08 +08:00
yetone
2c63dfea16 fix: special handling wehn vim diff count_a is 0 (#1692) 2025-03-24 15:41:20 +08:00
yetone
1cc81b10bf fix: startinsert in the last col (#1667) 2025-03-22 02:20:43 +08:00
yetone
1e1cd1cf78 fix: confirm ui (#1665) 2025-03-22 01:57:22 +08:00
yetone
1025d45cfa fix: result container winbar (#1664) 2025-03-22 00:48:59 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
Omar Crespo
d1fa11ec41 fix: claude-text-editor dont change the mod for other providers (#1656) 2025-03-21 10:30:44 +08:00
yetone
3a96c1f9c7 fix: do not asynchronously store history messages (#1654) 2025-03-20 19:27:32 +08:00
yetone
af372d7328 fix: confirm ux (#1653) 2025-03-20 19:00:23 +08:00
yetone
a9ec013f1c fix: fix code snippets parsing bug in cursor planning mode (#1651) 2025-03-20 13:26:00 +08:00
yetone
8c9cd1a7b2 Revert "feat: Allow Chat Sidebar to Replace the Main Window (No Split) (#1638)" (#1648)
This reverts commit 31041f6d65.
2025-03-20 03:25:08 +08:00
brook hong
31041f6d65 feat: Allow Chat Sidebar to Replace the Main Window (No Split) (#1638) 2025-03-20 03:10:54 +08:00
yetone
bfe8404161 fix: treesitter fold (#1647) 2025-03-20 03:04:30 +08:00
yetone
1c8cac1958 feat: history manager (#1644) 2025-03-19 17:28:05 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
brook hong
a8baee4354 fix: header text in case of no nvim-web-devicons setup and show current provider/model in it (#1617) 2025-03-18 19:40:50 +08:00
Haaris Rahman
4384a8ddca fix: use new treesitter syntax for cursor planning (#1623) 2025-03-18 10:43:08 +08:00
yetone
540cc53f0c fix: valid codeblock (#1616) 2025-03-17 19:06:40 +08:00
Jaime
f761e83033 fix: update displayed response for the first chunk (#1594)
If one is using avante.nvim with a non streaming LLM API the API
response will only have a single chunk. So that if we don't update the
displayed_response in the sidebar component, the output of the LLM will
be removed from the sidebar when we complete the interaction with the
LLM.

This commit makes sure that the displayed_response is updated for the
first chunk as well as subsequent ones.
2025-03-17 17:48:32 +08:00
yetone
aaf400a411 fix: parse empty code block in markdown (#1612) 2025-03-17 15:03:04 +08:00
yetone
63605a55a3 fix: increase history max_tokens (#1609) 2025-03-17 04:38:08 +08:00
yetone
e05312f83b fix: reset buffer (#1608) 2025-03-17 04:05:22 +08:00
yetone
6e77da83c1 fix: better sidebar (#1603)
* fix: better sidebar

* feat: better msg history

* fix: tests
2025-03-17 01:40:05 +08:00
Kasper Seweryn
c4fa4621fb fix: remove stale popup buffers (#1530)
* fix: remove stale popup buffers

* fix: restore the logic for updating the buffer

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-12 16:43:25 +08:00
yetone
5a1f9fcfb9 fix: trim empty last line (#1556) 2025-03-11 15:20:58 +08:00