291 Commits

Author SHA1 Message Date
Aaron Pham
db1f1efb27
chore(build): from source (#241)
* chore(build): from source

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

* chore: update readme

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 20:36:05 +08:00
yetone
1cb68e9aa2
fix: do not need compatible with old nvim (#242) 2024-08-26 20:35:36 +08:00
kaiix
26409d94b5
fix: don't automatically setup openai when its not the configured provider (#237) 2024-08-26 18:35:04 +08:00
yetone
c75dc48356
fix: binding shortcuts to specific buffers (#238) 2024-08-26 18:26:56 +08:00
yetone
8cd87ac5de
fix: do not use invalid bufnr and winid (#236)
* fix: do not use invalid buf

* fix: do not use invalid win
2024-08-26 17:43:38 +08:00
yetone
0769cef291
docs: update roadmap again (#232) 2024-08-26 16:17:02 +08:00
yetone
c6e7d673fe
docs: update roadmap (#231) 2024-08-26 16:14:54 +08:00
Aaron Pham
a1aed57c60
perf: use envvar whenever possible, and use cmd only as fallback (#228)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:13:12 -04:00
Aaron Pham
85101c1410
fix(diff): disable inlay in diff buffer (#227)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:12:11 -04:00
Aaron Pham
4f8c33cf5f
refactor: move highlights to groups with fg and bg (#226)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:11:05 -04:00
Aaron Pham
996378d2f8
chore(providers): add failed warning (#225)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 00:29:23 -04:00
LintaoAmons
6113c246e0
docs: add reasonable mappings (#223) 2024-08-26 00:26:29 -04:00
Jake
312543b680
feat(provider): initial error handling on claude (#221)
* fix: improve error handling for common issues

* fix: Providers.on_error for handling API errors

* Update lua/avante/providers/init.lua

---------

Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2024-08-25 21:26:19 -04:00
rkk1995
5159aeefd1
Include ARCH in asset name (#219) 2024-08-26 03:54:42 +08:00
yetone
de29868f54
fix: schedule vim api calls (#216) 2024-08-26 02:28:35 +08:00
Aaron Pham
39d54e2674
fix(providers): run sync to avoid race (#214)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 13:38:40 -04:00
Aaron Pham
d9cbcdbfb7
docs: update README.md (#213) 2024-08-25 11:34:48 -04:00
Aaron Pham
eaa373a7f6
fix(env): make sure to popup on nofile (fixes #211) (#212)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 11:29:55 -04:00
yetone
28fd18fd0f
fix: types (#210) 2024-08-25 17:12:33 +08:00
Aaron Pham
3f906e5289
refactor(history): use XDG_DATA_STATE as source dir (#209)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 03:12:53 -04:00
yetone
ee88563215
fix: types (#208) 2024-08-25 14:26:42 +08:00
yetone
b494d05c9d
fix: the highlights are not set correctly (#207) 2024-08-25 14:06:00 +08:00
Aaron Pham
2e916b4747
chore(cmp): update slash commands sources (#206)
and more functional

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 01:59:22 -04:00
Aaron Pham
80250de7a6
fix(hint): consistent sidebar submit (#205)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 00:24:48 -04:00
Aaron Pham
305d972849
chore(keymaps): add toggle options (#204)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 00:16:25 -04:00
Aaron Pham
46ec0a50a7
chore(icons): support mini.icons (#202)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 22:10:05 -04:00
Aaron Pham
f99bf767b5
fix(highlight): allow override (#201)
update envvar parsing from cmdline

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 20:15:45 -04:00
Aaron Pham
a7d3defa3d
feat(llm): add support for parsing secret vault (#200)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 17:52:38 -04:00
Aaron Pham
8d375dd591
chore(sidebar): make sure to balance win when close (#198)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 13:13:50 -04:00
yetone
303928de88
Revert "feat: add support of light theme" (#196)
This reverts commit 8b55833db646f0acb5481ee21f98a426da4a93e9.
2024-08-25 00:59:49 +08:00
tang donghai
8b55833db6
feat: add support of light theme (#195) 2024-08-25 00:53:07 +08:00
tang donghai
dd6bfad844
feat(mapping): shortcut for input box (#194) 2024-08-24 12:51:59 -04:00
Coffee
1142c3c274
fix(openai): add support for Cloudflare's AI-Gateway (#192) 2024-08-24 12:32:16 -04:00
yetone
9ac9f827ba
feat: show shortcut key hint (#193) 2024-08-24 20:29:46 +08:00
yetone
0e07128b56
feat: use regular floating win instead of nui.input (#191) 2024-08-24 17:34:41 +08:00
yetone
b8b5a3086e
fix: nui input cannot paste (#187) 2024-08-24 16:25:08 +08:00
yetone
dbf2509d44
fix: cannot use function as cmp kind (#184) 2024-08-24 04:35:33 +08:00
yetone
3dbdba198a
feat: commands with cmp (#183) 2024-08-24 04:32:44 +08:00
yetone
f2173c9a3c
chore: refine creating floating win (#182) 2024-08-24 02:33:35 +08:00
yetone
4693da8757
fix: refine floating window opts (#181) 2024-08-24 02:25:26 +08:00
yetone
964c4621f6
fix: close the hints popup when switching to another buffer (#180) 2024-08-24 00:21:00 +08:00
yetone
7bea73eb80
fix: check if is sidebar buf (#179) 2024-08-24 00:14:20 +08:00
yetone
43c5544a29
fix: splitting window size (#178) 2024-08-23 23:52:13 +08:00
Aaron Pham
d2775135a3
feat(llm): cohere support (#167)
should be good set of defaults now, one in US, one in canada, and
microsoft :/

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 09:36:40 -04:00
yetone
12d7cd8ec7
fix: code buffer tab buttons should not be hijacked (#174) 2024-08-23 18:38:14 +08:00
yetone
25f8175662
chore: fix types (#173) 2024-08-23 18:33:49 +08:00
Yusu Pan
7d4be712f0
fix: correct minor typo in sidebar.lua (#172) 2024-08-23 18:17:58 +08:00
yetone
a3c2a9a0d5
fix: switch to an invalid window (#171) 2024-08-23 18:08:58 +08:00
jihunkim0
79e9aac1af
fix: api key name (#169)
Co-authored-by: Jihun Kim <jihunk@google.com>
2024-08-23 17:59:02 +08:00
yetone
d7af33887d
feat: streaming updates content (#170) 2024-08-23 17:58:46 +08:00