Commit Graph

114 Commits

Author SHA1 Message Date
yetone
0f7fb35e6d fix: tool use id sometimes will be the same (#1982) 2025-05-04 02:43:33 +08:00
yetone
555b2e615c fix: cancel error (#1965) 2025-05-02 02:06:10 +08:00
yetone
3a43621e17 refactor: tool calling ui (#1959) 2025-05-01 19:16:15 +08:00
Peter Cardenas
59554e1cb0 fix: properly highlight multi filetype code blocks (#1926) 2025-04-30 22:20:40 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
Thomas Müller
f755861d93 fix(utils): when locking a buffer, only stopinsert if buffer is current (#1917)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-23 16:07:58 +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
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
K
25b3956b80 fix(wsl): wsl should prefer the defined shell instead of powershell.exe (#1766) 2025-03-30 12:54:40 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
Micah Halter
3a75b7d36f refactor: utilize Utils.get_hl to minimize duplicate code (#1701) 2025-03-25 10:38:23 +08:00
yetone
25e9b1c111 fix: copilot's openai tool description cannot use long text (#1700) 2025-03-24 19:54:06 +08:00
Tobias Mersmann
e20a3ff111 fix(diagnostics): add vim.diagnostic.severity.INFO to diagnostics context (#1696) 2025-03-24 18:20:04 +08:00
Micah Halter
46be28c357 fix: make sure to get the final highlight values rather than link names (#1682)
* fix: make sure to get the final highlight values rather than link names

* fix: update other `nvim_get_hl` calls to use `link = false`

* fix: more link = false

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-24 15:42:44 +08:00
yetone
49ae3c84fd feat: add view_range parameter and remove read_file llm tool (#1690) 2025-03-24 15:07:14 +08:00
yetone
9e28252cd0 feat: lsp tools (#1588) 2025-03-22 13:57:32 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
yetone
a60a8d4701 fix: change readonly files (#1659) 2025-03-21 19:48:28 +08:00
yetone
0786499712 feat: link diff and confirm (#1635) 2025-03-19 03:09:30 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
ESSO0428
6fc4f16a4e fix: normalize CRLF to LF in read_file_from_buf_or_disk (#1622)
Ensure consistent line endings when reading files by converting CRLF
(`\r\n`) to LF (`\n`). This fixes incorrect line number detection
when modifying CRLF-formatted files.

Addresses yetone/avante.nvim#1621.
2025-03-18 10:43:22 +08:00
yetone
bafe156639 feat: rename search_keyword => grep_search (#1584) 2025-03-14 15:57:24 +08:00
yetone
e332d74c06 fix: anthropic rate limit (#1583) 2025-03-14 14:13:47 +08:00
adasauce
70124ad366 feat: add caller information to debug logs (#1534) 2025-03-12 02:56:59 +08:00
yetone
9c7a1a59ac fix: plenary.path is too slow (#1557) 2025-03-11 15:39:34 +08:00
yetone
dff7e9b802 optimize: is_win (#1555) 2025-03-11 15:12:39 +08:00
yetone
a0e0924730 feat: carry recently viewed files as context (#1538) 2025-03-09 15:42:31 +08:00
adasauce
02fb470140 feat: support cmd: loading api keys for google search APIs (#1532)
refactor environment loading logic into Utils and use it for existing
provider loading, and web search where appropriate.
2025-03-09 15:01:49 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
yetone
3741460541 optimize: make relative (#1529) 2025-03-08 21:15:07 +08:00
yetone
d75094b815 fix: bedrock (#1524)
* fix: bedrock

* fix: bad variable name

* fix: missing metatable
2025-03-08 02:17:28 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
Sávio Carlos Martins Costa
6d39e06f57 fix: return statement of the "Utils.has", as "pcall" never returns nil (#1501) 2025-03-06 08:21:22 +08:00
Peter Cardenas
7704c21856 fix: do not change cwd for async bash command (#1456) 2025-03-02 11:30:16 +08:00
Omar Crespo
44e673d132 fix checkhealth to run outside lazy (#1401) 2025-02-26 17:36:11 +08:00
Hanchin Hsieh
0d5861f80d feat: add Windows support for git directory scanning (#1391) 2025-02-25 17:03:30 +08:00
Peter Cardenas
901e1caa91 feat: run_command is run asynchronously (#1377) 2025-02-25 13:22:36 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
Peter Cardenas
3dd1854cd4 feat: add custom shell command config (#1361) 2025-02-23 21:55:37 +08:00
yetone
e93f2426e9 fix: scan directory (#1362) 2025-02-23 18:26:52 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00
yetone
581e61fae1 Revert "fix: remove stopinsert from lock_buf (#1323)" (#1330) 2025-02-21 03:32:14 +08:00
Hans Pinckaers
a465c42ffa fix: remove stopinsert from lock_buf (#1323) 2025-02-20 23:39:05 +08:00
yetone
a6b24f3387 fix: use the current filepath when the filepath of code block cannot be found (#1319) 2025-02-20 16:02:52 +08:00
phyer
b6ae4dfe7f fix: use absolute paths to handle gitignore
Co-authored-by: zhangkun9038@dingtalk.com <zhangkun9038@dingtalk.com>
2025-02-17 12:56:09 +08:00
Hanchin Hsieh
1a4f2575d6 fix(utils): get non-nil filetype 2025-02-13 16:58:35 +08:00
yetone
f8636315a5 fix: get filetype (#1258) 2025-02-12 22:19:55 +08:00
yetone
72edea97cb optimize: prompts (#1247) 2025-02-11 23:11:03 +08:00
Oliver Lorton
cc46386130 fix: when dev icons absent (#1214)
* 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
yetone
fd64662fa2 fix: planning prompts (#1202)
* fix: planning prompts

* fix: base prompts
2025-02-06 23:16:49 +08:00