36 Commits

Author SHA1 Message Date
Aaron Pham
0d8098e4eb
fix(style): add parentheses ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
e8c71d931e
chore: run stylua [generated] ()
* chore: add stylua

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

* chore: running stylua

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:19:54 -04:00
Aaron Pham
4ad913435c
feat(templates): avanterules filetype support (closes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
yetone
65e1e178f5
feat: automatic suggestion (smart tab) () 2024-09-03 14:03:59 +08:00
yetone
55c85692bf
feat(ci): add lua static analyzer () 2024-09-01 17:04:33 +08:00
Aaron Pham
0557deeab7
feat: tokenizers ()
* feat: tokenizers

This reverts commit d5a4db8321d232a1b9c0d86fc38e8dd516d15776.

* fix(inputs): 

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 ()
* Revert "fix: add missing "with" in README"

This reverts commit bf1e7f1f17c8b82687b15c41e5a8104ea03f70cf.

* Revert "feat: tokenizers ()"

This reverts commit d2095ba267abbfe169582708a4449e609aa9709b.
2024-08-31 22:45:31 +08:00
Aaron Pham
d2095ba267
feat: tokenizers ()
* 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 )

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
yetone
2997d4669a
refactor: refactor planning prompts to resolve line number issues and indentation issues () 2024-08-30 18:53:49 +08:00
Aaron Pham
b43377c044
chore(config): add silent_warning options ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:08:39 -04:00
Aaron Pham
bd500feeec
chore(logs): silent safe_keymap_set to debug (fixes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:00:44 -04:00
Aaron Pham
38a5dbe429
fix(mapping): eager set via lua functions ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 00:00:10 -04:00
Aaron Pham
2e6a26240e
feat(mapping): plug and expose API ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 23:56:00 -04:00
yetone
bfa203018e
fix: remove copilot provider () 2024-08-28 20:51:20 +08:00
Aaron Pham
03b4cb7115
chore(utils): rename default titles ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:47:13 -04:00
yetone
fe6518f6de
feat: editing mode () 2024-08-27 22:44:40 +08:00
Aaron Pham
cf68572494
feat(clipboard): initial support ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 06:57:29 -04:00
Aaron Pham
07af0a91f2
chore: persistent augroup name pattern ()
for better augroup management

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 22:31:57 -04:00
Aaron Pham
72ba4ad52e
refactor: cleanup diff highlights ()
make sure to run on scheme change

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 17:18:37 -04:00
yetone
b874045885
feat: make tiktoken optional () 2024-08-27 01:46:05 +08:00
yetone
1cb68e9aa2
fix: do not need compatible with old nvim () 2024-08-26 20:35:36 +08:00
yetone
c75dc48356
fix: binding shortcuts to specific buffers () 2024-08-26 18:26:56 +08:00
Aaron Pham
305d972849
chore(keymaps): add toggle options ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 00:16:25 -04:00
yetone
0e07128b56
feat: use regular floating win instead of nui.input () 2024-08-24 17:34:41 +08:00
yetone
b8b5a3086e
fix: nui input cannot paste () 2024-08-24 16:25:08 +08:00
yetone
7bea73eb80
fix: check if is sidebar buf () 2024-08-24 00:14:20 +08:00
yetone
25f8175662
chore: fix types () 2024-08-23 18:33:49 +08:00
yetone
8c8d864637
fix: floating window highlights () 2024-08-22 14:46:08 +08:00
Aaron Pham
8d52229f16
refactor(llm): cleanup providers for future ops (closes ) ()
support allow_insecure and proxy ops

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 01:48:40 -04:00
yetone
f95feebd39
chore: scroll to end () 2024-08-21 23:20:30 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components () 2024-08-21 21:28:17 +08:00
Aaron Pham
76dd441e25
chore(copilot): check for valid file in addition to plugin setup ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 19:00:41 -04:00
Aaron Pham
175eff5cac
feat(llm): copilot (closes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 14:24:33 -04:00
Aaron Pham
5f74c54e55
chore: remove unused functions and simplify with utils ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 19:15:58 -04:00
Aaron Pham
60e3eac77e
fix(stream): remove auto force stream (closes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 12:09:04 -04:00
Aaron Pham
ba06b9bd9d
refactor: cleanup utils and expose lazy ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:40:57 -04:00