yetone
5208fdc278
fix: default use global statusline ( #133 )
2024-08-21 22:43:00 +08:00
yetone
62928ace70
fix: remove status line ( #132 )
2024-08-21 22:31:56 +08:00
yetone
8eef44d45a
fix: set eob to a blank character ( #131 )
2024-08-21 22:15:31 +08:00
Aaron Pham
184b3ef5b8
fix(type): small typo ( #130 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-21 22:14:30 +08:00
yetone
b3d14359b9
chore: delete everything related to nui-components ( #129 )
2024-08-21 22:10:49 +08:00
Hanchin Hsieh
83d067695e
chore(build): support build lua-tiktoken on Windows ( #128 )
...
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-08-21 21:59:13 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components ( #118 )
2024-08-21 21:28:17 +08:00
yuchanns
b995e4aa7b
fix(llm): parse_stream_data should take handler options
...
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-08-21 14:57:02 +08:00
yuchanns
0084d8b0cd
fix(llm): incorrect condition to call parse_stream_data
2024-08-21 13:53:32 +08:00
Hanchin Hsieh
0743bda2b6
fix(llm): do not use parse_stream_data if nil ( #124 )
2024-08-21 13:11:00 +08:00
Aaron Pham
76dd441e25
chore(copilot): check for valid file in addition to plugin setup ( #120 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 19:00:41 -04:00
Aaron Pham
175eff5cac
feat(llm): copilot ( closes #68 ) ( #116 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 14:24:33 -04:00
Aaron Pham
7c7fd6e315
chore(llm): expose parse_and_call handler ( closes #105 ) ( #114 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 07:54:58 -04:00
Aaron Pham
94adc992a6
chore(llm): expose types for support functions ( #113 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 07:43:53 -04:00
yetone
00f1e296b0
fix: do not write to invalid buffer ( #112 )
2024-08-20 17:58:05 +08:00
yetone
fcd7a82ff7
feat: use devicon instead of emoji ( #111 )
2024-08-20 17:51:14 +08:00
yetone
75ed191f43
fix: switch back to non-streaming update mode ( #106 )
2024-08-20 10:39:09 +08:00
Aaron Pham
5f74c54e55
chore: remove unused functions and simplify with utils ( #103 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 19:15:58 -04:00
Aaron Pham
410824e357
fix(selection): hint not apply correctly ( #101 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 18:26:25 -04:00
Aaron Pham
5d866379b6
chore(llm): expose prompt as variable ( #100 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 16:10:06 -04:00
yetone
2d160fc5d7
fix: callback was not called in stream mode ( #95 )
2024-08-20 01:51:20 +08:00
yetone
940106d82b
fix: do not insert the stream results into user code ( #94 )
2024-08-20 01:47:43 +08:00
Aaron Pham
60e3eac77e
fix(stream): remove auto force stream ( closes #90 ) ( #91 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 12:09:04 -04:00
Aaron Pham
6ba2143fed
fix(buffer): ignore dressing as input ( #89 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 11:52:52 -04:00
Aaron Pham
02eb39ae48
feat(llm): support local LLM ( #86 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 08:35:36 -04:00
Aaron Pham
2463c896f1
fix(claude): sending state manually ( #84 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 06:11:02 -04:00
Aaron Pham
ba06b9bd9d
refactor: cleanup utils and expose lazy ( #83 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:40:57 -04:00
Aaron Pham
7e6705c0b1
fix(hint): correct variable and setup on init ( #82 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:11:38 -04:00
yetone
c5b8662835
Revert "fix: construct handler opts in the parse function" ( #79 )
...
This reverts commit 5c57daea2e9cfbeed428d4d01d71bd8b08549953.
2024-08-19 11:24:49 +08:00
yetone
5c57daea2e
fix: construct handler opts in the parse function ( #78 )
2024-08-19 11:22:10 +08:00
yetone
b71e43d69e
fix: missing event_state in handler options of LLM stream function ( #77 )
2024-08-19 11:18:59 +08:00
Yuexun
29dabc4768
feat(ui): add config to turn off hints popup ( #75 )
2024-08-19 10:40:33 +08:00
Aaron Pham
2700cad921
feat(providers): add support for custom vendors ( #74 )
...
* feat(providers): add support for custom vendors
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: override configuration not setup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 10:20:29 +08:00
Aaron Pham
5fa4f701dd
refactor(ai): streaming chunks to avoid excessive redraw. ( #73 )
...
* perf(ai): token streaming with quick refactoring
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: window resize and AvanteSwitchProvider
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* revert: config change
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: return early
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 15:03:25 -04:00
franklin
0fddfc7d8f
feat: support groq ( #70 )
...
* adding groq to config
* updated readme with groq
2024-08-19 00:11:39 +08:00
yetone
834bb9ea77
feat: change chat record prefix ( #71 )
2024-08-19 00:05:13 +08:00
Chao Li
6bef72e287
feat: support deepseek ( #69 )
...
The DeepSeek API reduces costs through disk caching, and DeepSeek-Coder-V2-0724 achieves GPT-4-Turbo-0409 level code capabilities with excellent math and reasoning skills.
2024-08-18 21:33:45 +08:00
Aaron Pham
b979b3d8ce
chore(init): gated neovim version ( #67 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 18:28:11 +08:00
yetone
43beba9957
fix: cannot change buf name ( #66 )
2024-08-18 18:09:03 +08:00
Aaron Pham
58af2b7f92
fix(ui): use dressing.nvim for better input support ( #58 )
...
* fix(ui): use dressing.nvim for better input support
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: add small docs on setting up dependencies
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update docs
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* revert: add back quick docs for setup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update readme
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* Update lua/avante/ui/dressing.lua
* Update lua/avante/ui/dressing.lua
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:07:29 -04:00
Aaron Pham
8e503ef114
fix(event): make sure to create object during on tab enter ( #65 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:06:17 -04:00
yetone
1f1aed36bd
fix: check if renderer is nil ( closes #63 ) ( #64 )
2024-08-18 05:54:57 -04:00
Hanchin Hsieh
c8a764b3a1
fix(env): remove fallback and respect one env ( #60 )
...
Make sure to set the corresponding env.
2024-08-18 05:54:29 -04:00
Aaron Pham
d885bd9680
fix(ui): set selection per buffer and remove spinner ( closes #32 ) ( #62 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 17:36:30 +08:00
yetone
c19ea9a48a
feat: add wrap line configuration ( #59 )
2024-08-18 13:48:19 +08:00
yetone
c25521070a
feat: refine prompts for openai ( #57 )
2024-08-18 04:47:47 +08:00
Aaron Pham
c4e26a8767
feat(experimental): add section for behaviour ( #55 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:31:24 +08:00
Aaron Pham
ad09ea6058
fix(claude): use correct key ( #56 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:17:16 +08:00
Aaron Pham
af1f51455e
feat(ui): add envvar popup with warnings ( #54 )
...
* feat: add support for input popup of envvar
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update README and ignore certain filetypes for popup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: readme doesn't support nested callout
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:04:40 +08:00
yetone
f4ab995515
feat: refine prompts again ( #53 )
2024-08-18 02:52:27 +08:00