Maddison Hellstrom
8e8f2c15ab
feat: add windows.ask.focus_on_apply config option ( #779 )
2024-11-02 18:33:08 +08:00
Maddison Hellstrom
1aa8b03f00
feat: consider config.windows.ask.start_insert for non-floating ask window ( #780 )
2024-11-02 18:32:36 +08:00
Maddison Hellstrom
19ab7d51d5
feat: override timeoutlen while hovering over diff ( #781 )
2024-11-02 18:31:54 +08:00
mochi33i
f8d80d87c5
chore: fix 404 url for custom providers comment ( #772 )
2024-10-30 18:43:57 +08:00
Aaron Pham
4282cda0ac
feat(health): support checkhealth for plugins and providers ( #769 )
2024-10-29 07:00:05 -04:00
Aaron Pham
5c02a5d846
chore(type): update providers and claude hints ( #766 )
2024-10-27 02:27:10 -04:00
Aaron Pham
bdbbdec88c
feat(tokenizers): support parsing from public URL ( #765 )
2024-10-27 02:17:35 -04:00
Maky
a8e2b9a00c
chore: update to latest claude sonnet 3.5 ( #751 )
2024-10-23 02:05:52 +08:00
Aaron Pham
bd6ce346c1
fix(copilot): cached tokens to avoid rate limits ( closes #557 ) ( #746 )
2024-10-22 04:37:17 -04:00
Cristian Hernandez
3f947f8deb
fix: diff highlights doesn't reapply in colorscheme change ( #744 )
2024-10-22 10:42:02 +08:00
Aaron Pham
bbfc315eed
fix: conflict mapping with refresh and repomap ( #740 )
2024-10-20 22:45:53 -04:00
Ivan Sorokin
bf366f1b73
fix: Improve TS support for @codebase ( #735 )
2024-10-21 03:43:27 +08:00
João Mendonça
134cf40096
feat: toggle sidebar_header ( #737 )
2024-10-21 03:42:07 +08:00
Ivan Sorokin
2c33a894bb
fix: add escaping characters to ignore patterns ( #736 )
2024-10-21 03:27:58 +08:00
teocns
36b23cef16
feat: add repo map display ( #727 )
...
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-18 14:41:40 +08:00
yetone
26bf8d67e8
fix: failed to rename buffer ( #731 )
2024-10-17 00:36:13 +08:00
yetone
a0d3845bf3
fix: failed to rename buffer ( #730 )
2024-10-16 23:57:40 +08:00
yetone
9907f05fbf
fix: cannot rename buffer ( #729 )
2024-10-16 18:05:19 +08:00
yetone
595ea56fc1
fix: compatible with backquoted returns ( #728 )
2024-10-16 16:23:02 +08:00
yetone
7c83558b37
feat: smart position ( #725 )
2024-10-15 17:12:10 +08:00
yetone
8c28e285ea
perf(sidebar): update the buffer more efficiently ( #724 )
2024-10-15 12:30:20 +08:00
Jakkapat Paijit
86ba5a468b
feat(api): add switch sidebar focus ( #709 )
2024-10-15 11:24:48 +08:00
Maddison Hellstrom
964715be64
feat: floating input ( #721 )
...
* feat: add floating input to ask method
Open a floating input similar to the "edit" input for the "ask" input.
Enabled in config via `Config.windows.ask.floating` or by passing
`{ floating = true }` to the `api.ask` method.
Includes logic to ensure the sidebar uses the correct buffer and selection
if an existing sidebar is open for another code buffer.
Also refactored the `selection` module to extract the floating input
logic into a new `PromptInput` class.
* docs: update config options
* feat: more accurate annotations to prevent user misunderstandings
---------
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-15 11:22:34 +08:00
yetone
b19573cb2a
feat: write to multiple files ( #720 )
2024-10-14 20:15:11 +08:00
Maddison Hellstrom
347d9be730
feat: allow pressing apply_all mapping anywhere in sidebar ( #528 ) ( #712 )
...
- make apply and apply_all mappings configurable
- fixed bug where apply mapping was not unbound in unbind_apply_key
- allow apply_all mapping to be pressed anywhere in the sidebar
fixes #528
2024-10-12 18:41:08 +08:00
Lucas Pereira
e010c5541e
fix: typos in planning prompt ( #703 )
...
Co-authored-by: Lucas Pereira <lpereira@dickson-constant.com>
2024-10-12 17:16:23 +08:00
Aaron Batilo
f92c3a60f3
fix: support legacy finish_reason ( #706 )
...
Many OpenAI compatible alternative servers are still returning a
`finish_reason` of `eos_token` instead of `stop`. This commit adds
support for that to support more of these servers/options.
2024-10-11 21:46:34 +08:00
yetone
faaa7f223b
fix: keep correct indentation ( #710 )
2024-10-11 21:07:55 +08:00
yetone
134609a04c
fix: only provide suggestions for the selected code ( #702 )
2024-10-10 20:34:20 +08:00
Leiser Fernández Gallo
ec31f348b2
fix(save): schedule save within a loop ( #560 )
2024-10-10 20:04:37 +08:00
yetone
4132485487
fix: stream display replacement content ( #699 )
2024-10-10 05:05:29 +08:00
yetone
3dac407a11
fix: should not get the previous visual selection ( #698 )
2024-10-09 17:16:01 +08:00
yetone
e78f5b28a5
fix: missing breakline in context prompt template ( #690 )
2024-10-08 17:43:21 +08:00
yetone
895b0f4143
fix: get selection range from previous visual mode ( #689 )
2024-10-08 16:29:18 +08:00
Changmin Choi
08bed9e256
Handle backticks before decoding JSON ( #683 )
...
* feat: Clean up full_response before JSON decoding
* fix: make backtick matching more accurate
2024-10-08 16:13:56 +08:00
Huite
2a72dfa711
feat: write curl body to a temporary JSON file ( #673 )
...
* Write curl body to a temporary JSON file.
* Remove temp file after use
* feat: use vim.fn.delete to delete files
---------
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-07 23:53:18 +08:00
Dennis Dillert
c3848d086c
fix: ensure paths are recreated after calling :AvanteClear to avoid errors ( #678 )
2024-10-05 17:49:15 +08:00
yetone
0705234991
refactor: planning mode user prompt use aider prompt ( #671 )
2024-09-30 19:38:31 +08:00
Sapir Shemer
d74c9d0417
feat: supports openai o1-preview
...
* feat: make O1 models on openai work by handle non-streams & correct
parameters
* chore: set temperature automatically when using o1 models
2024-09-27 21:08:10 +08:00
doodleEsc
e5dc837715
fix: unregister completion source where BufLeave ( #656 )
...
- Add an autocommand to unregister completion sources when leaving the buffer
- Include a description for the new autocommand for better clarity
Co-authored-by: fanlizhou <fanlizhou@yunqilaohe.com>
2024-09-27 20:27:24 +08:00
yetone
302f207951
fix(repo-map): do not report errors when encountering unsupported languages ( #652 )
2024-09-27 02:19:01 +08:00
yetone
22243bc316
feat: silence debug msg ( #636 )
2024-09-26 11:18:40 +08:00
yetone
0d90c047ef
feat: avante repo map rust crate ( #628 )
2024-09-26 03:45:49 +08:00
yetone
a016663cda
fix(sidebar): cmp appears only once ( #629 )
2024-09-25 17:01:10 +08:00
yetone
5aec0ba48b
fix: place the project context and memory context at the forefront ( #619 )
2024-09-23 19:09:04 +08:00
yetone
8e1018fef7
feat: repo map ( #496 )
...
* feat: repo map
* chore: remove breakline
* chore: remove spaces
* fix: golang public method
* feat: mentions for editing input
2024-09-23 18:52:26 +08:00
Evgeny Naumov
8dbfe85dd4
fix(hl): use correct highlighting for inline hints ( #613 )
2024-09-21 14:49:07 +08:00
yetone
8fa2757e1b
feat(planning): supports insert code after line ( #605 )
2024-09-19 10:17:35 +08:00
yetone
20a81b891e
fix(prompts): the key information in the prompts was incorrectly filtered out by jinja ( #603 )
2024-09-18 14:55:31 +08:00
Dennis Dillert
f9520c4fdf
fix(sidebar): escape square brackets ( #591 )
2024-09-15 11:06:50 -04:00