434 Commits

Author SHA1 Message Date
yetone
0c14792f21
fix(ci): use tar (#487) 2024-09-03 21:51:42 +08:00
yetone
e4b7fd1dcf
fix(ci): release asset name (#486) 2024-09-03 21:44:36 +08:00
yetone
d1e1b94746
fix(ci): release requirements (#484) 2024-09-03 21:29:00 +08:00
yetone
a9da3c540b
fix(ci): release job name (#482) 2024-09-03 21:24:05 +08:00
yetone
42f6661c37
fix(ci): release binaries (#481) 2024-09-03 21:21:09 +08:00
Aaron Pham
713cb403d0
docs: update PAT requirements (closes #477) (#478) 2024-09-03 07:18:23 -04:00
Aaron Pham
24b66e08dc
fix(install): prebuilt instruction (closes #474) (#476)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 06:53:14 -04:00
Aaron Pham
a5726bd2bf
feat(crates): prebuilt binaries (#473)
* feat(crates): prebuilt binaries

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

* chore: update name

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

* chore: build on PR

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

* chore: only build for lua51 and luajit

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

* feat: build stuff

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

* chore: only build if changes in Rust

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

* fix: remove deadcode

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 06:20:53 -04:00
yetone
9765eaca21
chore(suggestion): increase debounce delay (#472) 2024-09-03 17:18:38 +08:00
Aaron Pham
0d8098e4eb
fix(style): add parentheses (#471)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
8cc674f1da
fix(highlight): make sure to setup conflict colors (#470)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:03:52 -04:00
Aaron Pham
e16111ba34
chore(types): update API to include suggestion (#469)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:29:08 -04:00
Aaron Pham
e8c71d931e
chore: run stylua [generated] (#460)
* 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 #254) (#466)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
yetone
054695cc63
chore(sidebar): remove emoji (#467) 2024-09-03 15:27:20 +08:00
yetone
65e1e178f5
feat: automatic suggestion (smart tab) (#455) 2024-09-03 14:03:59 +08:00
Aaron Pham
962dd0a759
fix(highlights): remove duplicates initialization (#462)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 16:56:00 -04:00
Aaron Pham
2b4dff46fc
fix(vim): set vimexpr for build (closes #453) (#458)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 12:31:13 -04:00
Aaron Pham
7266661413
feat(api): enable customizable calls functions (#457)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 12:22:48 -04:00
Aaron Pham
d520f09333
fix(highlight): respect user boolean (#451)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 20:46:04 -04:00
Aaron Pham
96d060db83
fix(highlight): respect user bold configuration (fixes #448) (#450)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 19:33:04 -04:00
Aaron Pham
c33ab80d88
revert: remove invalid configuration (#447)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 18:51:03 -04:00
Aaron Pham
7912070c6f
fix(gemini): check if json can be decoded (#446)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 18:47:35 -04:00
yetone
3ccb71d7ef
fix(sidebar): apply current cursor (#440) 2024-09-01 17:26:27 +08:00
yetone
6b41c64735
docs: add CI badge (#439) 2024-09-01 17:06:57 +08:00
yetone
55c85692bf
feat(ci): add lua static analyzer (#438) 2024-09-01 17:04:33 +08:00
yetone
8dd5db8923
docs: add position configuration in the readme (#437) 2024-09-01 16:25:52 +08:00
yetone
d9aa7c78af
feat: support windows position (#436) 2024-09-01 15:52:16 +08:00
yetone
77d344db77
chore: refine prompts (#434) 2024-09-01 02:52:16 +08:00
yetone
2e2c1ba486
perf(sidebar): do not replace all content in the code buffer (#433) 2024-09-01 02:45:32 +08:00
Aaron Pham
5f06638d37
fix(copilot): removes empty initialization (fixes #424) (#430)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-31 14:09:46 -04:00
Aaron Pham
0557deeab7
feat: tokenizers (#429)
* feat: tokenizers

This reverts commit d5a4db8321d232a1b9c0d86fc38e8dd516d15776.

* 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
534b1e6bec fix: remove unnecessary alerts 2024-08-31 23:51:54 +08:00
yetone
3b13b5e165 docs: fix indentation in README 2024-08-31 23:44:28 +08:00
yetone
faa46975cf fix(sidebar): the sidebar height is incorrect when selecting code 2024-08-31 23:36:28 +08:00
tang-hi
ff887af901 feat: add horizontal layout 2024-08-31 23:36:28 +08:00
yetone
c324e902bb
chore: refine code (#426) 2024-08-31 23:08:12 +08:00
yetone
33192127a3
fix(claude): there can be no more than four cache controls (#425) 2024-08-31 23:04:51 +08:00
yetone
d5a4db8321
Revert tokenizers (#423)
* Revert "fix: add missing "with" in README"

This reverts commit bf1e7f1f17c8b82687b15c41e5a8104ea03f70cf.

* Revert "feat: tokenizers (#407)"

This reverts commit d2095ba267abbfe169582708a4449e609aa9709b.
2024-08-31 22:45:31 +08:00
Will Lynas
bf1e7f1f17 fix: add missing "with" in README 2024-08-31 20:01:51 +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
Aaron Pham
81b44e4533
fix(clipboard): supress in paste_image branch (#414)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-31 02:38:48 -04:00
yetone
0c9e715829
perf(claude): the prompt caching is used by default (#413) 2024-08-31 13:54:49 +08:00
yetone
6b11ac7fd5
perf(selection): reduce the number of times indentation is calculated (#412) 2024-08-31 13:29:28 +08:00
yetone
2a0a8684cf
fix(selection): cursor out of range when restoring (#411) 2024-08-31 12:30:22 +08:00
Aaron Pham
c4f7b9ba82
fix(img-clip): supress verbose on AvanteInput (#410)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 19:13:42 -04:00
Aaron Pham
97e691861c
fix(after): early supression of warnings (fixes #385) (#409)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 19:07:52 -04:00
Aaron Pham
b09ff856b7
fix(copilot): support credentials saved with copilot.vim (#404)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 15:12:20 -04:00
Aaron Pham
5ff5dcf72b
chore(openai): add back support functions for ease-of-use (#402)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 13:49:08 -04:00
Aaron Pham
b196627e86
chore(provider): use latest cohere models (#400)
Update prompts to correct grammar
concat with table.concat to avoid overhead

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 13:39:36 -04:00