Commit Graph

56 Commits

Author SHA1 Message Date
yetone
a95e6602a6 chores: update prompts (#1853) 2025-04-11 10:43:48 +08:00
yetone
39787969c7 fix: memory (#1718) 2025-03-26 00:45:54 +08:00
yetone
a2aec079c9 feat: extract str_replace tool (#1710) 2025-03-25 18:43:57 +08:00
yetone
976fb4177c fix: refine tools (#1706)
* fix: refine tools

* fix: missing break line

* fix: view a in-context file

* fix: remove create_file tests
2025-03-25 11:17:48 +08:00
yetone
49ae3c84fd feat: add view_range parameter and remove read_file llm tool (#1690) 2025-03-24 15:07:14 +08:00
yetone
4e839f1679 fix: use the same lang (#1668) 2025-03-22 02:54:05 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
yetone
6e77da83c1 fix: better sidebar (#1603)
* fix: better sidebar

* feat: better msg history

* fix: tests
2025-03-17 01:40:05 +08:00
yetone
110ba8a21f optimize: refine context prompts (#1579) 2025-03-14 03:47:26 +08:00
yetone
1e82a1c0e7 fix: do not use bash to write file! (#1576) 2025-03-13 16:53:50 +08:00
yetone
a0e0924730 feat: carry recently viewed files as context (#1538) 2025-03-09 15:42:31 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
Jie Liu
a652db7608 fix: add instruct for creating new files (#1485)
* Add instruct for creating new files

* Update lua/avante/templates/planning.avanterules

Co-authored-by: Peter Cardenas <16930781+PeterCardenas@users.noreply.github.com>

---------

Co-authored-by: Peter Cardenas <16930781+PeterCardenas@users.noreply.github.com>
2025-03-05 17:04:29 +08:00
yetone
3e7c059246 fix: tools priority (#1486) 2025-03-05 14:51:54 +08:00
yetone
b01121bc39 fix: tools priority (#1478) 2025-03-04 00:44:33 +08:00
yetone
981edcaf44 fix: do not use tools aggressively (#1462) 2025-03-02 16:27:05 +08:00
yetone
5bb055795f feat(suggestions): add tags around json (#1441) 2025-03-01 13:11:12 +08:00
yetone
814bba5ef2 fix: edit supports think tag (#1430) 2025-02-28 15:24:36 +08:00
yetone
008e8c32b8 fix: adjust the priority of tools (#1402) 2025-02-26 13:58:03 +08:00
yetone
2b3a41e811 feat: implement a more flexible custom prompts solution (#1390) 2025-02-25 16:08:16 +08:00
yetone
4ac44f26b0 fix: prompts for rag (#1357) 2025-02-23 02:34:34 +08:00
yetone
fd84c91cdb feat: RAG service (#1220) 2025-02-23 01:37:26 +08:00
yetone
437d36920d fix: add tools guidelines in cursor planning prompts (#1351) 2025-02-23 00:45:55 +08:00
yetone
48ae1fed78 feat: python llm tool (#1334) 2025-02-21 13:04:02 +08:00
yetone
b21d2632d3 feat: cursor planning mode (#1289) 2025-02-17 18:49:29 +08:00
yetone
7fa7b0fa3b feat: support searchapi (#1284) 2025-02-17 00:36:00 +08:00
yetone
c89741e98b fix: base prompts (#1255) 2025-02-12 21:46:11 +08:00
yetone
72edea97cb optimize: prompts (#1247) 2025-02-11 23:11:03 +08:00
yetone
e8b0f33f18 fix(prompts): use run_command if possible (#1208) 2025-02-07 15:33:23 +08:00
yetone
fd64662fa2 fix: planning prompts (#1202)
* fix: planning prompts

* fix: base prompts
2025-02-06 23:16:49 +08:00
yetone
1437f319d2 feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
Christopher Brewin
5d1bc6e8b4 fix (suggesting_rules) add missing brace in the suggestion format (#1146) 2025-01-30 18:25:43 +08:00
yetone
0df03dd213 fix: refine suggestion prompts (#1087) 2025-01-15 18:35:36 +08:00
yetone
a874c2736a feat: refine suggestion prompts (#1082) 2025-01-15 00:52:34 +08:00
Theo X. Olausson
87c03bcbc1 fix: typo in suggesting.avanterules (#1076) 2025-01-14 20:41:32 +08:00
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