486 Commits

Author SHA1 Message Date
yetone
134609a04c
fix: only provide suggestions for the selected code (#702) 2024-10-10 20:34:20 +08:00
Leiser Fernández Gallo
ec31f348b2
fix(save): schedule save within a loop (#560) 2024-10-10 20:04:37 +08:00
yetone
4132485487
fix: stream display replacement content (#699) 2024-10-10 05:05:29 +08:00
yetone
3dac407a11
fix: should not get the previous visual selection (#698) 2024-10-09 17:16:01 +08:00
yetone
e78f5b28a5
fix: missing breakline in context prompt template (#690) 2024-10-08 17:43:21 +08:00
yetone
895b0f4143
fix: get selection range from previous visual mode (#689) 2024-10-08 16:29:18 +08:00
Changmin Choi
08bed9e256
Handle backticks before decoding JSON (#683)
* feat: Clean up full_response before JSON decoding

* fix: make backtick matching more accurate
2024-10-08 16:13:56 +08:00
Huite
2a72dfa711
feat: write curl body to a temporary JSON file (#673)
* Write curl body to a temporary JSON file.

* Remove temp file after use

* feat: use vim.fn.delete to delete files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-07 23:53:18 +08:00
Dennis Dillert
c3848d086c
fix: ensure paths are recreated after calling :AvanteClear to avoid errors (#678) 2024-10-05 17:49:15 +08:00
yetone
0705234991
refactor: planning mode user prompt use aider prompt (#671) 2024-09-30 19:38:31 +08:00
yetone
93ab85ab93
fix: make installation method part as required (#669) 2024-09-30 18:10:40 +08:00
yetone
21b2668c7f
chore: add how-to-install in bug report template (#668) 2024-09-30 18:08:42 +08:00
yetone
6e1e80532e
chore: bug report template whith os info (#667) 2024-09-30 18:07:13 +08:00
yetone
5ab86c879c
chore: bug report template whith os info (#666) 2024-09-30 18:01:50 +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
d28fece472
fix: revert cargo-zigbuild (#664)
* Revert "fix(release): install openssl headers (#662)"

This reverts commit 6aaaeda003599c7e64492c11e2a63e7c5efaf98a.

* Revert "fix(release): setup zig for cargo-zigbuild (#661)"

This reverts commit e3e5785a1a9c257083e6f9f86cdb66486a1d6b47.

* Revert "feat(release): use cargo-zigbuild to build for glibc 2.17 (#660)"

This reverts commit 2ff2456fcb8af8fe8aff36278014d6e42fe6a354.
2024-09-29 02:14:17 +08:00
yetone
6aaaeda003
fix(release): install openssl headers (#662) 2024-09-28 21:45:21 +08:00
yetone
e3e5785a1a
fix(release): setup zig for cargo-zigbuild (#661) 2024-09-28 14:06:23 +08:00
yetone
2ff2456fcb
feat(release): use cargo-zigbuild to build for glibc 2.17 (#660) 2024-09-28 14:01:54 +08:00
yetone
ac959ccbbe
fix(repo-map): only return top level definitions (#659) 2024-09-27 22:23:45 +08:00
Sapir Shemer
d74c9d0417
feat: supports openai o1-preview
* feat: make O1 models on openai work by handle non-streams & correct
parameters

* chore: set temperature automatically when using o1 models
2024-09-27 21:08:10 +08:00
yetone
64f26b9e72
chore: update badges (#658) 2024-09-27 20:58:56 +08:00
doodleEsc
e5dc837715
fix: unregister completion source where BufLeave (#656)
- Add an autocommand to unregister completion sources when leaving the buffer
- Include a description for the new autocommand for better clarity

Co-authored-by: fanlizhou <fanlizhou@yunqilaohe.com>
2024-09-27 20:27:24 +08:00
yetone
f3ee77dd5b
fix(release): only x86_64 integrates a lower version of glibc because docker arm64 builds too slowly (#653) 2024-09-27 02:27:18 +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
131d800c16
fix(release): use sudo (#651) 2024-09-27 01:23:04 +08:00
yetone
80e4ce31b0
fix(release): install qemu to use docker arm64 platform (#650) 2024-09-27 01:15:22 +08:00
yetone
b757b1971e
fix(release): munually use docker to build with multi-arch glibc (#649) 2024-09-27 01:05:12 +08:00
yetone
4917f0966c
fix(release): downgrade upload release asset action to use old nodejs version (#648) 2024-09-27 00:37:04 +08:00
yetone
fc71cc26fb
fix(release): install esenttial dependencies openssl-devel (#647) 2024-09-27 00:24:52 +08:00
yetone
93abd8e525
fix(release): source cargo env (#646) 2024-09-26 23:59:07 +08:00
yetone
753b77425b
fix(release): source cargo env (#645) 2024-09-26 23:54:46 +08:00
yetone
9387c8ad45
fix(release): manually install Rust to support lower versions of glibc (#643) 2024-09-26 20:26:10 +08:00
yetone
1fca51917e
fix(release): use glibc 2.17 (#642) 2024-09-26 20:04:49 +08:00
yetone
0c97dfe5e9
feat: supports windows aarch64 (#640) 2024-09-26 11:54:11 +08:00
yetone
f2cec70d4c
chore: log build command (#639) 2024-09-26 11:47:54 +08:00
yetone
272b60f050
fix: windows build script (#638) 2024-09-26 11:44:48 +08:00
yetone
67adc263ad
fix(release): supports darwin x86_64 (#637) 2024-09-26 11:36:54 +08:00
yetone
22243bc316
feat: silence debug msg (#636) 2024-09-26 11:18:40 +08:00
yetone
0d90c047ef
feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
yetone
5461342fce
fix: only use cargo fmt (#633) 2024-09-25 17:13:43 +08:00
yetone
cbd92577de
fix: add features for cargo check (#632) 2024-09-25 17:11:17 +08:00
yetone
ee07276f63
chore: add files for pre-commit rust hooks (#631) 2024-09-25 17:07:15 +08:00
yetone
39d32155bf
chore: pre-commit-rust (#630) 2024-09-25 17:05:55 +08:00
yetone
a016663cda
fix(sidebar): cmp appears only once (#629) 2024-09-25 17:01:10 +08:00
yetone
5aec0ba48b
fix: place the project context and memory context at the forefront (#619) 2024-09-23 19:09:04 +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
Evgeny Naumov
8dbfe85dd4
fix(hl): use correct highlighting for inline hints (#613) 2024-09-21 14:49:07 +08:00
yetone
f97a2d9bc1
fix: docs format (#608) 2024-09-19 20:07:48 +08:00
yetone
8a3d5f30ec
fix: use global statusline (#607) 2024-09-19 20:06:19 +08:00