1570 Commits

Author SHA1 Message Date
Peter Cardenas
a27b821cc1 fix(acp): fix error when using in acp repos (#2904) 2026-01-04 11:46:20 +08:00
Epheien
7a9fbbd4dd fix(history): correct title type check in History.from_file() (#2898)
Co-authored-by: eph <eph@MacBook-Pro.local>
2025-12-31 01:03:37 +08:00
飘尘
5e37159898 feat(providers): update GLM model from glm-4.6 to glm-4.7 (#2897) 2025-12-30 12:06:34 +08:00
edmundhighcock
f663865186 Added nbconvert needed for rag indexing jupyter notebooks (#2862)
* Added nbconvert needed for rag indexing jupyter notebooks

* Allow rag service image to be configured

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-30 11:59:52 +08:00
Jie Liu
7608dce00e Support loading ACP sessions if agent can (#2889) 2025-12-29 19:11:30 +08:00
Adrian Cole
148998b1db feat(acp): support mcp_servers in acp_providers config (#2883)
Allow acp_providers to specify an mcp_servers array that gets passed
to create_session. This enables agents to connect to HTTP MCP servers
configured by the client.

- Read mcp_servers from Config.acp_providers[provider]
- Pass to acp_client:create_session for MCP tool support
- Add mock transport tests verifying mcpServers propagation
2025-12-29 17:50:24 +08:00
takuto
5cad31db07 feat(config): add option allow_access_to_git_ignored_files (#2882) 2025-12-29 17:41:23 +08:00
Waitzz
2ffe820ec1 fix: avante.llm_tools.helpers.is_ignored error (#2895) 2025-12-29 17:30:11 +08:00
Jie Liu
a9e9890fc6 Change codex acp provider command to automatically install & run (#2890) 2025-12-27 01:41:20 +08:00
Phred Lane
476f342fe6 chore: used native action-centric methods for testing (#2856)
* chore: used native action-centric methods for testing

* pass the GitHub token to the `gh` cli
2025-12-22 08:19:10 +08:00
Waitzz
a9a558d1e2 feat: Add mapping to delete avante history via fzf-lua (#2869) 2025-12-21 19:34:37 +08:00
Waitzz
483c57013c fix: history selector snacks.nvim live search error (#2870) 2025-12-21 19:34:24 +08:00
Nayab Sayed
b62b6370fc fix: wrap nvim_del_autocmd in vim.schedule to avoid fast event context error (#2873)
nvim_del_autocmd was being called in a callback from acp_client, which is a
fast event context where it's not allowed. Wrapping it with vim.schedule()
defers the execution to a safe context.

Signed-off-by: Nayab Sayed <nayabbasha.sayed@microchip.com>
2025-12-21 18:35:19 +08:00
Peter Cardenas
cf352f6f46 fix: make acp client send requests async (#2848) 2025-12-21 03:32:04 +08:00
Liang Sun
2afb70537f fix: typo in vertex claude endpoint url (#2871) 2025-12-21 03:13:29 +08:00
Matthieu Coudron
15548d50fc refactor(rag): rewrote the starting command (#2874)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-19 12:38:04 +08:00
Matthieu Coudron
68b624ab5b chore: sort providers by name (#2876) 2025-12-19 12:37:37 +08:00
Peter Cardenas
80f7079556 fix: support cancelling acp providers (#2847) 2025-12-16 19:07:10 +08:00
XuJiawei
92f972a413 feat: Add mapping to delete avante history via snacks.nvim (#2868) 2025-12-14 19:02:43 +08:00
XuJiawei
08977a401f feat: Add mapping to delete avante history via telescope.nvim (#2867) 2025-12-14 02:49:54 +08:00
Adrian Cole
0336666a73 fix(acp): return JSON-RPC error for fs/read_text_file on missing files (#2849)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-13 23:30:11 +08:00
XuJiawei
521633a0f5 fix: llm_api_key error in launch_rag_service (#2866) 2025-12-13 22:23:37 +08:00
XuJiawei
42028811e4 refine: replace vim.fn.system with vim.system (#2863) 2025-12-13 18:58:10 +08:00
Peter Cardenas
bbf6d8f0d9 fix: respect Config.debug during acp client session (#2857) 2025-12-10 02:41:42 +08:00
yetone
cc7f383e37 docs: remove Warp sponsorship link (#2859) 2025-12-10 02:26:48 +08:00
Peter Cardenas
d3ec7c7320 fix: gracefully handle utf-8 errors (#2834) 2025-12-01 11:07:33 +08:00
Leonardo Mariscal
4d9d2de6fe openai provider add empty parameters to tool call (#2845) 2025-11-28 20:03:58 +08:00
brook hong
de6febb094 fix: hangs on tool calling to read_todos (#2835) 2025-11-28 20:03:46 +08:00
SSDGADsss
5df39b480d fix rag-service requirements (#2843)
In response to the issue raised in # 281, I have added a dependency of
'nbconvert' to the Python dependency list of the avaent rag server,
hoping to fix the problem
2025-11-25 17:18:55 +08:00
Jalen Jouett
ca95e03864 Fix: Snacks picker format config (#2828) 2025-11-13 00:55:03 +08:00
you-n-g
f8a7cd1a60 fix: gpt-5-chat is not a reasoning model
* Exclude GPT-5-Chat 

Exclude GPT-5-Chat. It is not a reasoning model.

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-11-09 21:39:45 +08:00
cndoit18
44b594863c fix(history): improve parameter display in get_tool_display_name function (#2822)
Use vim.inspect() for better parameter formatting instead of direct string concatenation
2025-11-06 05:23:30 +08:00
yetone
7f48770e66 fix(kimi-acp): kimi acp tool call update is missing the kind field (#2814) 2025-10-31 20:41:12 +08:00
Marius Niveri
15ef2a012c fix: never attempt to concatenate nil values, use empty strings (#2692) (#2812)
* fix: never attempt to concatenate nil values, use empty strings (#2692)

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-31 17:53:06 +08:00
yetone
159b452426 chore: replace replace_in_file references with str_replace (#2811) 2025-10-31 02:08:53 +08:00
yetone
c8bf0205b5 fix: enable think tool with acp provider (#2810) 2025-10-31 00:58:46 +08:00
yetone
d45b622193 Auto select Copilot Response API for GPT-5 Codex models (#2808) 2025-10-30 22:38:32 +08:00
Alan
4286ac963a fix(utils): ensure empty tool properties encode as JSON object (#2803)
When tools have no parameters, llm_tool_param_fields_to_json_schema
returns an empty Lua table {}. vim.json.encode serializes empty tables
as JSON arrays [] instead of objects {}, causing Anthropic API to reject
requests with "tools.N.custom.input_schema.properties: Input should be
a valid dictionary" error.

Solution: Use vim.empty_dict() for empty properties to ensure correct
JSON object {} serialization instead of array [].

Tested with Claude Sonnet 4.5 - tools now work correctly without
schema validation errors.
2025-10-30 13:21:47 +08:00
yetone
b95e27b5a6 feat: supports OpenAI Response API and copilot's gpt-5-codex model (#2802)
* fix: upgrade vscode version

* feat: support openai response api

* refactor: refine todos tools

* fix: trim suffix empty lines
2025-10-30 02:18:48 +08:00
Carlos Gomes
7e9f7b57de fix(acp): improve process cleanup and add type annotations (#2799) 2025-10-26 14:38:17 +08:00
yetone
164a86db6e fix(copilot): the tool_call index starts from 1 in copilot + claude-sonnet-4.5 (#2794) 2025-10-22 17:45:37 +08:00
Felix Zhang
c155ce9ff4 fix(config): fix default glm model name (#2785) (#2786)
Co-authored-by: 张晓飞 <xiaofei.zhang@i-soft.com.cn>
2025-10-22 02:45:01 +08:00
Canmi
0a0a0a3958 fix: visual spacing glitch between badges. (#2783) 2025-10-22 02:44:41 +08:00
yetone
3c3eca8518 feat: opencode acp provider (#2789) 2025-10-21 19:03:53 +08:00
yetone
fb28520067 Refine buffer updates and tool call metadata (#2784) 2025-10-20 13:58:34 +08:00
yetone
5da78a7521 fix: include PATH in codex provider env (#2782) 2025-10-20 00:45:25 +08:00
yetone
b3448420fd Improve ACP history message tracking (#2781) 2025-10-20 00:32:20 +08:00
Carlos Gomes
cc7a41262e feat: follow the ACP agent edit and open files automatically (#2780) 2025-10-19 00:32:08 +08:00
Dmitry Torokhov
f0ad738e5a fix(sidebar): avoid crashing in WinNew handler (#2777) 2025-10-17 17:05:04 +08:00
Dmitry Torokhov
2f9daf2bc6 feat(ollama): provide a helper to enable ollama when service is available
Ollama is disabled by default, as it normally does not require API keys
to be defined. Users are supposed to override is_env_set() method in
their configs to enable Ollama.

Provide check_endpoint_alive() helper in Ollama provider module that can
be used directly in place of is_env_set() and checks whether the server
replies to "get list of models" query:

...
  ollama = {
    is_env_set = require("avante.providers.ollama").check_endpoint_alive,
  },
...
2025-10-16 22:09:54 -07:00