Commit Graph

581 Commits

Author SHA1 Message Date
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
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
zc he
caa8342508 fix: use tree-sitter-markdown to extract code snippets (#1315)
Co-authored-by: yetone <yetoneful@gmail.com>
2025-02-21 17:17:12 +08:00
yetone
2ac53d75de Revert "fix: finally diff in cursor planning mode again (#1338)" (#1339) 2025-02-21 15:57:13 +08:00
yetone
2550709cd4 fix: finally diff in cursor planning mode again (#1338) 2025-02-21 15:04:30 +08:00
yetone
5a2e8760f4 fix: finally diff in cursor planning mode (#1337) 2025-02-21 14:42:22 +08:00
Hanchin Hsieh
25a6bd6e59 fix(search): filter kagi results to only include web pages (t == 0)
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-02-21 14:18:31 +08:00
yetone
45604b25f8 feat: support edit and retry user request (#1335) 2025-02-21 14:00:53 +08:00
yetone
48ae1fed78 feat: python llm tool (#1334) 2025-02-21 13:04:02 +08:00
Hanchin Hsieh
40ab7ef537 feat: add Kagi as web search engine provider (#1331) 2025-02-21 11:45:23 +08:00
yetone
581e61fae1 Revert "fix: remove stopinsert from lock_buf (#1323)" (#1330) 2025-02-21 03:32:14 +08:00
yetone
2d8f25efad fix separator (#1329) 2025-02-21 00:53:10 +08:00
yetone
fa89b147db fix: custom prompts (#1328) 2025-02-21 00:45:41 +08:00
yetone
ac86a3371e fix: default disable cursor planning mode (#1327) 2025-02-21 00:29:46 +08:00
Hans Pinckaers
a465c42ffa fix: remove stopinsert from lock_buf (#1323) 2025-02-20 23:39:05 +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
yetone
6177bbabfc fix: intelligently obtain filepath (#1321) 2025-02-20 16:45:42 +08:00
yetone
5966529997 fix: resp separator (#1320) 2025-02-20 16:14:25 +08:00
yetone
a6b24f3387 fix: use the current filepath when the filepath of code block cannot be found (#1319) 2025-02-20 16:02:52 +08:00
yetone
8f1226a74f fix: precise code block matching (#1318) 2025-02-20 15:46:10 +08:00
yetone
5b006624e6 feat: cursor planning mode enabled by default (#1316) 2025-02-20 13:06:17 +08:00
Omar Crespo
2991ca69a0 fix: include cursor-planning in the whitelist for dualboost (#1312) 2025-02-20 12:02:34 +08:00
Lucas Pereira
36f8db9629 feat: allow disabling tools for claude & copilot (#1300) 2025-02-20 00:00:10 +08:00
yetone
3476eabc4c fix: selected code container height (#1308) 2025-02-19 19:39:01 +08:00
yetone
09403a26df fix: ignore special buffers (#1307) 2025-02-19 19:25:59 +08:00
Nick Dichev
c1df9970bc feat(file_selector): add @buffers mention to add open buffers to chat context (#1303) 2025-02-19 18:22:07 +08:00
Hanchin Hsieh
97b938b47b feat(sidebar): add "commit" command (#1304)
- Extend AvanteSlashCommandType to include "commit"
- Add new command entry for "commit" with description "Commit the changes"
- Implement callback function for "commit" command
- Update input container logic to handle "commit" command
- Set request to "Please commit the changes" when "commit" command is used

Hanchin Hsieh <me@yuchanns.xyz>
2025-02-19 13:50:24 +08:00
Michael Gendy
9a191abce5 feat(model): add model selection (#961)
* feat(model): add model selection with keybinding

* lint

* rename model_select to model_selector
2025-02-19 02:01:21 +08:00
yetone
85370a5a1b fix: do not have bg (#1299) 2025-02-19 01:48:14 +08:00
zerogog
a17d4b00e2 fix: #1176 Gemini model in OpenRouter not finish their response (#1292) 2025-02-18 22:59:16 +08:00
guanghechen
63194b5208 feat(file_selector): support customized filepaths resolver (#1294) 2025-02-18 22:57:59 +08:00
Hanchin Hsieh
c1f1a89d74 feat(llm_tools): add git diff and commit functions (#1295)
Added two new functions to support git operations:

- git_diff: Get git diff for generating commit message (both staged and unstaged changes)

- git_commit: Commit changes with commit message and optional signing

These functions also support:

- GPG signing if available and configured

- Automatic staging of files if scope is provided

- User confirmation before committing

- Signed-off-by line with git user info

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-02-18 22:56:50 +08:00
yetone
603bd7f8ec optimize: live diff performance (#1297) 2025-02-18 22:41:58 +08:00
yetone
7f74d9f105 fix: simplifies highlights complex code (#1291) 2025-02-18 10:25:38 +08:00
yetone
b20b2caf22 fix: cursor planning mode bad cases (#1290) 2025-02-17 22:27:43 +08:00
yetone
b21d2632d3 feat: cursor planning mode (#1289) 2025-02-17 18:49:29 +08:00
phyer
b6ae4dfe7f fix: use absolute paths to handle gitignore
Co-authored-by: zhangkun9038@dingtalk.com <zhangkun9038@dingtalk.com>
2025-02-17 12:56:09 +08:00
8uff3r
f70eb1040c fix(providers/openai): check for vim.NIl on tool_calls (#1283) 2025-02-17 12:54:58 +08:00
kyrisu
6fd82f24dd fix: correct typo in answer field name in tavily format_response_body function (#1287) 2025-02-17 12:53:15 +08:00
Enes Kutay SEZEN
0a146dc63a docs: add reasoning_effort docs (#1286) 2025-02-17 12:52:22 +08:00
yetone
7fa7b0fa3b feat: support searchapi (#1284) 2025-02-17 00:36:00 +08:00
yetone
c60dc6c316 fix: case insensitive (#1275) 2025-02-14 12:28:39 +08:00
Hanchin Hsieh
1a4f2575d6 fix(utils): get non-nil filetype 2025-02-13 16:58:35 +08:00
yetone
25111c6df3 fix: incorrect minimize snippets (#1265) 2025-02-13 13:39:24 +08:00
yetone
763dbe064d fix: line content (#1264) 2025-02-13 13:23:28 +08:00
yetone
76c06ed277 fix: tools return json (#1263) 2025-02-13 11:54:54 +08:00
yetone
ce55d7ac9e refactor: better value name (#1261) 2025-02-13 01:39:02 +08:00
yetone
9bad591e8a fix: lowercase filepath bad case (#1259) 2025-02-12 22:59:15 +08:00