20 Commits

Author SHA1 Message Date
yetone
bd8afce3b0
feat: tab flow (#1077) 2025-01-14 15:39:57 +08:00
yetone
24641d8264
refactor: new prompts structure (#1071) 2025-01-11 23:09:55 +08:00
Yang Jun
794c643033
fix: cannot apply changes if model is gemini-2.0-flash-thinking-exp-1219 (#1052) 2025-01-09 00:14:14 +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
Zhéyuán Chén
a3447bd497
Add missing FILEPATH tag in planning.avanterules (#934) 2024-12-11 17:02:24 +08:00
yetone
c8e688a0ac
feat: format diagnostic (#895) 2024-11-24 06:02:34 +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
yetone
0b1cd5509e
fix: incorrect filepath (#865) 2024-11-18 02:55:44 +08:00
yetone
1e8abbf798
feat: memory 🧠 (#793) 2024-11-04 16:20:28 +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
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
yetone
4132485487
fix: stream display replacement content (#699) 2024-10-10 05:05:29 +08:00
yetone
e78f5b28a5
fix: missing breakline in context prompt template (#690) 2024-10-08 17:43:21 +08:00
yetone
0705234991
refactor: planning mode user prompt use aider prompt (#671) 2024-09-30 19:38:31 +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
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
Aaron Pham
2b89f0d529
perf(anthropic): prompt-caching (#517)
bring back prompt caching support on Anthropic

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 03:19:33 -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