Commit Graph

87 Commits

Author SHA1 Message Date
yetone
5abe579019 fix: retry when rate limited (#1417) 2025-02-27 12:52:58 +08:00
yetone
2b3a41e811 feat: implement a more flexible custom prompts solution (#1390) 2025-02-25 16:08:16 +08:00
Peter Cardenas
901e1caa91 feat: run_command is run asynchronously (#1377) 2025-02-25 13:22:36 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00
Omar Crespo
0704a5820a fix: dualboost error with invalid capture (#1347) 2025-02-22 23:23:18 +08:00
Thomas Müller
bf6f18d8ea fix: tool use when API returns sparse tool_use_list (#1322) 2025-02-20 23:36:25 +08:00
Omar Crespo
2991ca69a0 fix: include cursor-planning in the whitelist for dualboost (#1312) 2025-02-20 12:02:34 +08:00
yetone
b21d2632d3 feat: cursor planning mode (#1289) 2025-02-17 18:49:29 +08:00
yetone
ce55d7ac9e refactor: better value name (#1261) 2025-02-13 01:39:02 +08:00
Omar Crespo
6e18616c16 fix: dual boost only in planning mode (#1215) 2025-02-11 01:40:49 +08:00
yetone
5f6612fb8c fix: support multiple tool use (#1192) 2025-02-06 16:41:28 +08:00
yetone
f2bd4adba4 feat: add add_file_to_context tool (#1191) 2025-02-06 16:00:14 +08:00
yetone
4f41154e83 feat: tool logs (#1190) 2025-02-06 15:15:44 +08:00
yetone
d1cc23fa54 fix: multiple tool use histories and disable tools (#1185) 2025-02-06 02:46:52 +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
ken
43269cc07f Feat: Add Amazon Bedrock provider (#1167) 2025-02-03 22:33:25 +08:00
yetone
b5ac768416 feat: supports reasoning_content (#1159) 2025-02-02 02:12:14 +08:00
yetone
48fc35f978 fix: hide internal properties of config (#1036) 2025-01-05 18:27:23 +08:00
yetone
a0d05544af Revert "fix(llm): call on_complete() function at callback (#952)" (#1018) 2025-01-01 20:48:17 +08:00
Changmin Choi
9f3793b579 fix(llm): call on_complete() function at callback (#952) 2024-12-24 22:42:12 +08:00
Christopher Brewin
8067cb0240 fix(file_selector): empty buffer and chat without file context. (#953) 2024-12-18 19:22:40 +08:00
Michael Gendy
e98fa46bec feat(tokens): add token count display to sidebar (#956)
* feat (tokens) add token count display to sidebar

* refactor: calculate the real tokens and reuse input hints to avoid occlusion

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-17 20:43:25 +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
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
yetone
9042f5f202 feat: enable diagnostics (#891) 2024-11-23 21:49:33 +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
3b390040f5 refactor: chat history based on project (#867) 2024-11-18 18:07:33 +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
Aaron Pham
b872ac9c12 chore(docs): update correct formatting for dropdown (#817) 2024-11-07 01:15:37 -05:00
yetone
1e8abbf798 feat: memory 🧠 (#793) 2024-11-04 16:20:28 +08:00
Sayandip Dutta
e3df3b479f fix(curl): show error when XDG_RUNTIME_DIR not writable (#785) 2024-11-03 16:44:12 +08:00
yetone
8c28e285ea perf(sidebar): update the buffer more efficiently (#724) 2024-10-15 12:30:20 +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
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
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
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
yetone
0642905c80 feat: specific provider for auto-suggestions (#569) 2024-09-12 14:23:00 +08:00
Aaron Pham
29e109e447 feat(api): support native chat mode (#541)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-05 02:43:31 -04: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
0d8098e4eb fix(style): add parentheses (#471)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
e8c71d931e chore: run stylua [generated] (#460)
* chore: add stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: running stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:19:54 -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
yetone
65e1e178f5 feat: automatic suggestion (smart tab) (#455) 2024-09-03 14:03:59 +08:00
yetone
77d344db77 chore: refine prompts (#434) 2024-09-01 02:52:16 +08:00
Aaron Pham
b09ff856b7 fix(copilot): support credentials saved with copilot.vim (#404)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 15:12:20 -04:00
Aaron Pham
b196627e86 chore(provider): use latest cohere models (#400)
Update prompts to correct grammar
concat with table.concat to avoid overhead

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 13:39:36 -04:00