yetone
1516ce093a
fix(ci): lua style ( #946 )
2024-12-13 23:05:44 +08:00
Alexander Muratov
eb1bc657a1
refactor & fix: improve libraries initialization ( #921 )
...
* refactor(libs): extract libraries initialization
Extract initialization logic into separate functions
for better error handling and reusability.
* fix(libs): improve core libraries init
This change helps prevent runtime errors from uninitialized libraries.
2024-12-13 23:00:43 +08:00
Maddison Hellstrom
b102f673c4
feat(AvanteClear): accept args to clear history, memory or cache ( #930 )
...
* chore: extract sidebar clear history/memory functions
* feat(AvanteClear): accept args to clear history, memory or cache
Usage:
```
:AvanteClear [history|memory|cache]
```
- changed default behavior from clearing the cache to clearing history.
- added args to clear history, memory or cache.
- added confirm dialog before clearing cache.
2024-12-13 22:59:09 +08:00
Fernando Freire
5c20cc1779
feat(context): add current buffer to selected file ctx ( #941 )
2024-12-13 22:57:42 +08:00
Aaron Lifton
a1da07097d
feat: allow configurable file select provider ( #944 )
...
- add file_selector config
- add providers for fzf and telescope
2024-12-13 22:55:36 +08:00
Christopher Brewin
4d6f8e65fb
feat (sidebar) nvim-web-devicons support files with multiple dots and use default for unknown file types. ( #943 )
2024-12-13 22:54:16 +08:00
Christopher Brewin
78dd9b0a6d
feat(context): add a ui for selecting and adding files to the sidebar as context ( #912 )
...
* feat(sidebar): supports select files
chore (context) update add type annotations to context functions
chore (sidebar) remove unused notify function call
refactor (sidebar) remove setting search file to file path
chore (sidebar) remove nvim_notify debugging api call
* feat (files) allow selecting a file by string via cmp suggestion menu
* chore (context) refactor to allow context using @file with a context view
* refactor (context) refactor seletected file types as an array of path and content
* refactor (config) remove unused configuration options
* refactor (sidebar) remove unused unbild key
* refactor (context) remove unused imports
* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.
* fix (sidebar) add file context as a window that is visitable via the tab key
* refactor (file_content) remove file content as an input to llm
* feat (sidebar) support suggesting and applying code in all languages that are in the context
* feat (sidebar) configurable mapping for removing a file from the context.
* feat (context_view) configure hints for the context view for adding and deleting a file.
* feat (context) add hints for the context view.
* fix (sidebar) type when scrolling the results buffer.
* refactor (selected files) refactor llm stream to accept an array of selected file metadata
* refactor: context => selected_files
---------
Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00
yetone
3b33170097
Update README.md ( #940 )
2024-12-11 21:31:29 +08:00
yetone
664f3d5429
Update README.md ( #939 )
2024-12-11 21:21:42 +08:00
Han Pham
4cdbb9989c
doc: add missing descriptions for user commands ( #938 )
...
Usage for user commands, such as `:AvanteAsk`, are not detailed in the
documentation. I find this piece of information to be useful as
reference for the users.
2024-12-11 17:04:19 +08:00
Zhéyuán Chén
a3447bd497
Add missing FILEPATH tag in planning.avanterules ( #934 )
2024-12-11 17:02:24 +08:00
yetone
4464b7f4ae
fix: load path ( #926 )
2024-12-06 01:35:33 +08:00
msvechla
6206998f24
chore: allow to pass raw curl args ( #920 )
...
This can be used to pass additional arguments to curl, which can be
helpful when working on new providers like bedrock, that can use curl
arguments for authorization.
2024-12-04 18:57:07 +08:00
Arkuna
57311bf8cd
fix: Get copilot refresh token asynchronously ( #918 )
2024-12-01 14:00:42 +08:00
Moritz G.
71c9a7911b
fix(ci): change linux-aarch64 to compile to aarch64 file ( #909 )
...
- change linux-aarch64 to aarch64 container
- add qemu for architecture emulation
2024-11-29 18:22:07 +08:00
LEE,SEUNGMIN
66dc948647
fix(docs): missing comma in custom autocmd example ( #915 )
2024-11-29 18:21:31 +08:00
yetone
91f37e5fda
fix(docs): add hrsh7th/nvim-cmp as dependency ( #914 )
2024-11-29 00:41:11 +08:00
yetone
16c4254b14
chore(doc): language specific logo for ci badges ( #907 )
2024-11-25 20:33:55 +08:00
yetone
da4f8e3650
fix(docs): ci badges ( #906 )
2024-11-25 20:32:14 +08:00
Radosław Woźniak
97f04f87f5
fix(suggestions): cleanup response to ensure JSON ( #900 )
...
LLM is not always smart enough to follow the prompt
2024-11-25 20:26:59 +08:00
Jay Zhang
7413d5a508
fix: avoid ignorable error in ubuntu 22.04+ ( #903 )
2024-11-25 20:26:23 +08:00
Christopher Brewin
4c9dd65600
fix (prompt_input) limit the miximum row offset for hint text in floating prompt windows to the height of the window. ( #904 )
2024-11-25 20:24:59 +08:00
Radosław Woźniak
29a645a39e
style(repo_map): fix style ( #901 )
...
* style(repo_map): fix style
after it was broken in https://github.com/yetone/avante.nvim/pull/894
* fix: rust ci conditions
---------
Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-25 20:24:09 +08:00
yetone
8c432720ed
fix: try to fix rust ci condations ( #905 )
2024-11-25 20:16:13 +08:00
Radosław Woźniak
890fd92594
feat(repo_map): add elixir support ( #894 )
2024-11-24 17:29:30 +08:00
Aaron Batilo
e60ccd2db4
feat: enable streaming for o1 models ( #896 )
...
As of a few days ago, o1 models support streaming responses. Please see:
https://community.openai.com/t/openai-o1-streaming-now-available-api-access-for-tiers-1-5/1025430
2024-11-24 17:28:27 +08:00
yetone
c8e688a0ac
feat: format diagnostic ( #895 )
2024-11-24 06:02:34 +08:00
yetone
5e6d3368f7
fix: diff insert ( #893 )
2024-11-24 05:10:09 +08:00
yetone
67e946ef13
fix: diagnostics lnum starts with 1 ( #892 )
2024-11-23 23:08:10 +08:00
yetone
9042f5f202
feat: enable diagnostics ( #891 )
2024-11-23 21:49:33 +08:00
Christopher Brewin
d14b2290d1
fix(sidebar): apply windows.wrap setting to code split and input split ( #789 )
2024-11-23 20:27:00 +08:00
yetone
9d0e1cd4af
fix: align lua oop ( #889 )
2024-11-23 20:23:05 +08:00
Christopher Brewin
da41105fc8
fix (sidebar) only display apply ext marks for codeblocks that can be applied ( #883 )
2024-11-23 12:48:21 +08:00
Shourya Sharma
9d2599df4d
refactor: ♻️ Updated API parsing logic for vertex AI to throw specific error ( #887 )
...
Co-authored-by: Shourya Sharma <shourya.sharma@complyadvantage.com>
2024-11-23 12:47:29 +08:00
khoind4
934602b2a6
fix: fix installation build in powershell (windows)
...
New-TemporaryFile doesn't work in cmd
More info: https://github.com/PowerShell/PowerShell/issues/14100
2024-11-22 20:05:16 +08:00
Will Lynas
341ecd2073
feat: minimal diff ( #583 )
...
* Add minimize_diff option and add dummy function
* fix: minimize snippets
---------
Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-21 16:16:32 +08:00
yetone
2863473bbf
fix: do not ignore curl error ( #877 )
2024-11-20 01:33:28 +08:00
yetone
56ebcad7a8
fix: must not be called in a lua loop ( #876 )
2024-11-20 01:29:55 +08:00
yetone
5dd42548d4
fix: use relative path ( #875 )
2024-11-19 23:52:53 +08:00
yetone
d17905a1c8
fix(doc): vim-plug missing setup ( #873 )
2024-11-19 16:23:47 +08:00
yetone
3c010e38ac
feat: update copilot model version ( #872 )
2024-11-19 06:25:17 +08:00
yetone
3beed68157
fix: copilot url join ( #871 )
2024-11-19 06:20:42 +08:00
yetone
e65be50a0a
fix: claude parse response ( #870 )
2024-11-19 06:03:03 +08:00
yetone
c551bbe5b6
fix: cmp slash commands disappeared ( #869 )
2024-11-19 06:01:50 +08:00
yetone
cf2312abbc
fix: provider must be set ( #868 )
2024-11-19 05:14:04 +08:00
yetone
3b390040f5
refactor: chat history based on project ( #867 )
2024-11-18 18:07:33 +08:00
Xinyao(Alvin) Sun
87885a4530
fix(docs): correct typo in README and config.lua ( #863 )
2024-11-18 02:56:20 +08:00
yetone
0b1cd5509e
fix: incorrect filepath ( #865 )
2024-11-18 02:55:44 +08:00
Xinyao(Alvin) Sun
3051bfdf24
feat: add Dual Boost Mode for Enhanced LLM Responses with Multi-Provider Support ( #854 )
2024-11-17 15:54:01 +08:00
yetone
9891b03656
fix(openai): user and assistant roles should be alternating ( #859 )
2024-11-17 03:49:02 +08:00