37 Commits

Author SHA1 Message Date
Yinzuo Jiang
29111ac042 fix: AvanteShowRepoMap failed to parse query for c (#2629)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-08-26 17:19:47 +08:00
Ivan Jaramillo
4eb8bd97e1 chore: update html2md dependency to fix build errors on termux(android) (#2605) 2025-08-14 16:01:59 +08:00
yetone
7e50de8904 fix: ReAct tool use format in few-shot (#2542) 2025-07-28 11:14:45 +08:00
yetone
8bc149ccd8 fix: react prompts (#2537) 2025-07-26 16:06:56 +08:00
yetone
ad05a802f9 feat: todos (#2184) 2025-06-15 15:10:07 +08:00
kyrisu
4495ee6bcf feat: load templates from cache and project directories (#2126) 2025-06-04 03:24:53 +08:00
Justin Restivo
55b1baf314 chore(avante-tokenizers): remove old cargo lockfile (#1702) 2025-04-08 10:13:32 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
Gael PHILIPPE
e471f2347b feat(repo-map): add swift, java and php support (#1446) 2025-03-02 01:21:34 +08:00
yetone
6f98cb0ed6 fix: fetch llm tool no longer depends on system libssl.so (#1404) 2025-02-26 17:36:01 +08:00
yetone
fd84c91cdb feat: RAG service (#1220) 2025-02-23 01:37:26 +08:00
yetone
b21d2632d3 feat: cursor planning mode (#1289) 2025-02-17 18:49:29 +08:00
yetone
1ec12907a2 feat: fetch tool (#1196) 2025-02-06 19:13:47 +08:00
yetone
1437f319d2 feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
Aaron Lifton
0a837a4583 feat: improve ruby parsing (#1085) 2025-01-15 18:37:53 +08:00
Kostiantyn Sharovarskyi
143519abae feat: Add csharp support to repo_map (#1073) 2025-01-14 20:12:10 +08:00
Yang Jun
6c10081899 fix: failed to download tokernizer from HF (#1060) 2025-01-09 18:09:33 +08:00
Michael Gendy
e98fa46bec feat(tokens): add token count display to sidebar (#956)
* feat (tokens) add token count display to sidebar

* refactor: calculate the real tokens and reuse input hints to avoid occlusion

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-17 20:43:25 +08:00
Christopher Brewin
78dd9b0a6d feat(context): add a ui for selecting and adding files to the sidebar as context (#912)
* feat(sidebar): supports select files

chore (context) update add type annotations to context functions

chore (sidebar) remove unused notify function call

refactor (sidebar) remove setting search file to file path

chore (sidebar) remove nvim_notify debugging api call

* feat (files) allow selecting a file by string via cmp suggestion menu

* chore (context) refactor to allow context using @file with a context view

* refactor (context) refactor seletected file types as an array of path and content

* refactor (config) remove unused configuration options

* refactor (sidebar) remove unused unbild key

* refactor (context) remove unused imports

* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.

* fix (sidebar) add file context as a window that is visitable via the tab key

* refactor (file_content) remove file content as an input to llm

* feat (sidebar) support suggesting and applying code in all languages that are in the context

* feat (sidebar) configurable mapping for removing a file from the context.

* feat (context_view) configure hints for the context view for adding and deleting a file.

* feat (context) add hints for the context view.

* fix (sidebar) type when scrolling the results buffer.

* refactor (selected files) refactor llm stream to accept an array of selected file metadata

* refactor: context => selected_files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00
Radosław Woźniak
29a645a39e style(repo_map): fix style (#901)
* style(repo_map): fix style

after it was broken in https://github.com/yetone/avante.nvim/pull/894

* fix: rust ci conditions

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-25 20:24:09 +08:00
Radosław Woźniak
890fd92594 feat(repo_map): add elixir support (#894) 2024-11-24 17:29:30 +08:00
yetone
9042f5f202 feat: enable diagnostics (#891) 2024-11-23 21:49:33 +08:00
yetone
1e8abbf798 feat: memory 🧠 (#793) 2024-11-04 16:20:28 +08:00
Vasil Markoukin
579ef12f76 feat(repo_map): add scala support (#788)
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-11-03 19:35:27 -05:00
Aaron Pham
bdbbdec88c feat(tokenizers): support parsing from public URL (#765) 2024-10-27 02:17:35 -04:00
Maddison Hellstrom
9de95f9e02 feat(repo-map): C++ improvements (#734) 2024-10-21 17:20:18 +08:00
Boy Maas
bac46cee83 feat(repo-map): zig support (#663)
* feature: zig support for repo map

* Update crates/avante-repo-map/Cargo.toml

Co-authored-by: yetone <yetoneful@gmail.com>

* fix: update lint error

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
Co-authored-by: yetone <yetoneful@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-29 13:27:10 -04:00
yetone
ac959ccbbe fix(repo-map): only return top level definitions (#659) 2024-09-27 22:23:45 +08:00
yetone
302f207951 fix(repo-map): do not report errors when encountering unsupported languages (#652) 2024-09-27 02:19:01 +08:00
yetone
0d90c047ef feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
yetone
8e1018fef7 feat: repo map (#496)
* feat: repo map

* chore: remove breakline

* chore: remove spaces

* fix: golang public method

* feat: mentions for editing input
2024-09-23 18:52:26 +08:00
Aaron Pham
41c78127e5 chore(rust): fix current clippy lint (#504)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 22:18:53 -04:00
Aaron Pham
4ad913435c feat(templates): avanterules filetype support (closes #254) (#466)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
Aaron Pham
0557deeab7 feat: tokenizers (#429)
* feat: tokenizers

This reverts commit d5a4db8321.

* fix(inputs): #422

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-31 13:39:50 -04:00
yetone
d5a4db8321 Revert tokenizers (#423)
* Revert "fix: add missing "with" in README"

This reverts commit bf1e7f1f17.

* Revert "feat: tokenizers (#407)"

This reverts commit d2095ba267.
2024-08-31 22:45:31 +08:00
Aaron Pham
d2095ba267 feat: tokenizers (#407)
* feat: autobuild tiktoken lib and schenanigans

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: revert readme changes

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(build): windows

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>

* chore(plugin): early load commands and base setup

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(build): make sync

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* feat: rust go vroom vroom

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* feat: scuffed afaf implementation binding go brrrr

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: remove dups

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(tokens): calculate whether we should do prompt_caching (fixes #416)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: ignore lockfiles

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* Update README.md

* Update crates/avante-tokenizers/README.md

* chore: remove unused

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: remove auto build

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
Co-authored-by: yuchanns <me@yuchanns.xyz>
2024-08-31 07:19:59 -04:00