Commit Graph

638 Commits

Author SHA1 Message Date
nzlov
de7cccd089 feat: add support for ollama RAG providers (#1427)
* fix: openai env

* feat: add support for multiple RAG providers

- Added provider, model and endpoint configuration options for RAG service

- Updated RAG service to support both OpenAI and Ollama providers

- Added Ollama embedding support and dependencies

- Improved environment variable handling for RAG service configuration

Signed-off-by: wfhtqp@gmail.com <wfhtqp@gmail.com>

* fix: update docker env

* feat: rag server add ollama llm

* fix: pre-commit

* feat: check embed model and clean

* docs: add rag server config docs

* fix: pyright ignore

---------

Signed-off-by: wfhtqp@gmail.com <wfhtqp@gmail.com>
2025-03-04 11:07:40 +08:00
yetone
b01121bc39 fix: tools priority (#1478) 2025-03-04 00:44:33 +08:00
brook hong
6bd966e8e2 fix: pass context to provider for stream data parsing (#1475)
* fix: pass context to provider for stream data parsing

* fix: luatype

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-04 00:20:27 +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
yetone
6f13034845 fix: remove accidentally introduced files (#1472) 2025-03-03 15:18:35 +08:00
Jie Liu
3fae794ea8 fix: sub-folder creation on Windows (#1468) 2025-03-03 15:08:39 +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
yetone
981edcaf44 fix: do not use tools aggressively (#1462) 2025-03-02 16:27:05 +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
0d592f440c Revert "refactor: message content (#1424)" (#1442)
This reverts commit ae8497faf1.
2025-03-01 13:25:51 +08:00
yetone
5bb055795f feat(suggestions): add tags around json (#1441) 2025-03-01 13:11:12 +08:00
Thomas Müller
a0af22df2e fix: custom vendors listed twice in model selection dropdown (#1435) 2025-03-01 12:47:13 +08:00
yetone
814bba5ef2 fix: edit supports think tag (#1430) 2025-02-28 15:24:36 +08:00
yetone
6d24da510e refactor: rename run_command llm tool to bash (#1428) 2025-02-28 14:50:41 +08:00
yetone
ae8497faf1 refactor: message content (#1424) 2025-02-28 14:43:39 +08:00
yetone
ebadba7420 fix: claude extended thinking (#1419) 2025-02-27 15:21:00 +08:00
yetone
77c5ffeb78 fix: lua type (#1418) 2025-02-27 12:55:19 +08:00
yetone
5abe579019 fix: retry when rate limited (#1417) 2025-02-27 12:52:58 +08:00
Matthew Brookhart
e69e7eceeb feat: support Microsoft Entra ID authentication (#1274)
Co-authored-by: Matthew Brookhart <Matthew Brookhart>
2025-02-27 12:00:36 +08:00
yetone
1097f1dfae feat: update rag service image (#1415) 2025-02-27 11:54:38 +08:00
Xiaochao Dong
81067b31aa fix(copilot): fail to decode the empty token file (#1414) 2025-02-27 11:44:24 +08:00
Omar Crespo
44e673d132 fix checkhealth to run outside lazy (#1401) 2025-02-26 17:36:11 +08:00
yetone
6f98cb0ed6 fix: fetch llm tool no longer depends on system libssl.so (#1404) 2025-02-26 17:36:01 +08:00
nzlov
ef78c36e98 fix: openai env (#1400) 2025-02-26 17:35:49 +08:00
yetone
008e8c32b8 fix: adjust the priority of tools (#1402) 2025-02-26 13:58:03 +08:00
yetone
984fe877bf chores: remove debug logs (#1396) 2025-02-26 03:39:09 +08:00
yetone
d4e58f6a22 feat(health): check treesitter dependency (#1392) 2025-02-25 17:34:23 +08:00
Hanchin Hsieh
0d5861f80d feat: add Windows support for git directory scanning (#1391) 2025-02-25 17:03:30 +08:00
yetone
2b3a41e811 feat: implement a more flexible custom prompts solution (#1390) 2025-02-25 16:08:16 +08:00
yetone
481a44f041 fix: cursor applying diff (#1387) 2025-02-25 14:34:26 +08:00
yetone
e7ffb76499 fix: reuse parse_messages and remove parse_response_data and have a good function name for check env exists (#1386) 2025-02-25 13:52:13 +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
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
a1d1697400 feat: parse excel (#1383) 2025-02-25 12:06:50 +08:00
yetone
8d888c2861 feat: support claude-3.7-sonnet reasoning (#1382) 2025-02-25 11:22:22 +08:00
yetone
02b4fbf4b1 feat: support claude 3.7 (#1376) 2025-02-25 02:49:21 +08:00
yetone
c9134eb8ed feat: add debug method for cursor applying (#1375) 2025-02-25 02:22:25 +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
Ojas Kavathe
4be3574583 fix: load avante_lib synchronously when not using lazy (#1345) 2025-02-23 15:11:39 +08:00
yetone
7255e16020 fix: rag resource must be a git repo (#1360) 2025-02-23 15:11:18 +08:00