Commit Graph

49 Commits

Author SHA1 Message Date
Omar Crespo
bae5275705 feat: add stop sequence (#1652) 2025-03-21 19:34:33 +08:00
yetone
af372d7328 fix: confirm ux (#1653) 2025-03-20 19:00:23 +08:00
yetone
f226df8348 fix: read latest content (#1643) 2025-03-19 14:42:35 +08:00
yetone
8b730182cb refactor: ui lib (#1642) 2025-03-19 14:34:32 +08:00
yetone
abca1a4ea3 feat: minimal diff for claude text edit tool mode (#1636) 2025-03-19 03:34:24 +08:00
yetone
0786499712 feat: link diff and confirm (#1635) 2025-03-19 03:09:30 +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
bafe156639 feat: rename search_keyword => grep_search (#1584) 2025-03-14 15:57:24 +08:00
yetone
1e82a1c0e7 fix: do not use bash to write file! (#1576) 2025-03-13 16:53:50 +08:00
yetone
9e3e8d06a2 feat: get custom tools from a function (#1567) 2025-03-12 17:57:09 +08:00
adasauce
02fb470140 feat: support cmd: loading api keys for google search APIs (#1532)
refactor environment loading logic into Utils and use it for existing
provider loading, and web search where appropriate.
2025-03-09 15:01:49 +08:00
yetone
3741460541 optimize: make relative (#1529) 2025-03-08 21:15:07 +08:00
yetone
f6484a0e61 feat: add glob llm tool (#1495) 2025-03-05 19:22:22 +08:00
yetone
093c09b760 fix: search keyword ignore vcs when using rg (#1493) 2025-03-05 18:55:23 +08:00
Limbo Peng
ab63b52ffb feat: add Brave Search as web search engine provider (#1481)
* feat: add Brave Search as web search engine provider

* docs: update README
2025-03-04 23:47:04 +08:00
Hanchin Hsieh
c6d5527ea8 fix(llm_tools): fix permission checking to use relative path (#1473)
The has_permission_to_access function was incorrectly using absolute paths when checking against gitignore patterns. This could cause issues when the binary name matches the project root directory name, particularly in Go projects.

Changes:

- Extract relative path from absolute path by removing project root prefix

- Use relative path for gitignore pattern matching

- Add comments explaining the path handling logic

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-03-03 18:02:59 +08:00
Peter Cardenas
de1e6a4212 feat: add custom tools config (#1461)
* chore: add string literal types for tool params, and returns

* feat: add custom tools config
2025-03-03 15:06:13 +08:00
Peter Cardenas
1428648609 feat: run python tool asynchronously (#1455) 2025-03-02 11:31:04 +08:00
Peter Cardenas
7704c21856 fix: do not change cwd for async bash command (#1456) 2025-03-02 11:30:16 +08:00
Peter Cardenas
ac9d2b3888 feat: disable tools with config (#1459)
* chore: use missing generic for AvanteLLMToolFunc

* feat: add disabled_tools config
2025-03-02 11:29:23 +08:00
yetone
615ccdbef3 fix: typo (#1451) 2025-03-02 01:19:25 +08:00
yetone
6d24da510e refactor: rename run_command llm tool to bash (#1428) 2025-02-28 14:50:41 +08:00
yetone
6f98cb0ed6 fix: fetch llm tool no longer depends on system libssl.so (#1404) 2025-02-26 17:36:01 +08:00
Peter Cardenas
901e1caa91 feat: run_command is run asynchronously (#1377) 2025-02-25 13:22:36 +08:00
Peter Cardenas
aa0449dbc1 fix: python tool message formatting and check for docker (#1379) 2025-02-25 12:08:28 +08:00
yetone
876246b9ae fix: the enabled function of the llm tool was not called (#1374) 2025-02-24 22:04:44 +08:00
Jax Tsai
22739f33f2 fix: rename llm-tool search to search_keyword (#1364) 2025-02-24 22:00:11 +08:00
yetone
b627b335dd feat: add generic type for llm func (#1373) 2025-02-24 21:54:36 +08:00
Peter Cardenas
fe496a9573 chore: make tool func type more accurate (#1369) 2025-02-24 21:49:06 +08:00
Peter Cardenas
3dd1854cd4 feat: add custom shell command config (#1361) 2025-02-23 21:55:37 +08:00
yetone
e47c27af66 fix: python llm tool with confirmation (#1365) 2025-02-23 21:53:40 +08:00
yetone
e93f2426e9 fix: scan directory (#1362) 2025-02-23 18:26:52 +08:00
yetone
fd84c91cdb feat: RAG service (#1220) 2025-02-23 01:37:26 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +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
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
7fa7b0fa3b feat: support searchapi (#1284) 2025-02-17 00:36:00 +08:00
yetone
76c06ed277 fix: tools return json (#1263) 2025-02-13 11:54:54 +08:00
Amin Roosta
c07d396e30 feat(web_search_engine): adds google as a provider (#1226) 2025-02-10 13:21:55 +08:00
yetone
59fdbd72a4 fix: get abs path (#1232) 2025-02-10 02:08:58 +08:00
yetone
29a71b2976 fix: insert conflict contents (#1201) 2025-02-06 22:24:59 +08:00
yetone
152d0c609c feat: serpapi (#1198) 2025-02-06 20:10:55 +08:00
yetone
1ec12907a2 feat: fetch tool (#1196) 2025-02-06 19:13:47 +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
0603364ea8 fix: typo (#1182) 2025-02-05 23:13:07 +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