Commit Graph

241 Commits

Author SHA1 Message Date
yetone
a08a2e3579 feat: add original_content for history message 2025-07-17 15:45:23 +08:00
yetone
cf5234b4d9 optimize: reduce copilot invocation consumption 2025-07-17 14:21:34 +08:00
yetone
2a16e7d4d9 fix: do not modify the tool_use input 2025-07-16 20:18:24 +08:00
Dmitry Torokhov
34907fc1cd refactor(history): start moving history-related code into avante/history
The utils module has grown too big and contains unrelated functionality.
Start moving code related to managing history messages comprising chat
history into lua/avante/history module to keep the code more manageable.
2025-07-16 12:49:15 +08:00
yetone
14cfccdba9 fix: do not use str_replace_editor (#2428) 2025-07-10 10:17:48 +08:00
Kyle
9f4da7ea09 fix(openai): handle nil function arguments in tool calls (#2425) 2025-07-09 14:19:29 +08:00
yetone
d98f676e32 fix: ReAct parsing (#2375) 2025-06-30 16:40:52 +08:00
Fredrik Averpil
2d9247e536 feat(providers): Defer execution of cmd: API keys (#2372) 2025-06-30 10:25:14 +08:00
Noah Chalifour
f04cee670d fix: error on calling transform_anthropic_usage on a nil with bedrock (#2360)
Co-authored-by: Noah Chalifour <nchalifo@amazon.com>
2025-06-28 21:39:39 +08:00
Daryl
8da09eae1d fix: forbidden inputs in mistral ai (#2348) 2025-06-27 15:27:40 +08:00
yetone
e89f1fd922 fix: copilot do not carry tools in ReAct situations (#2331) 2025-06-25 18:12:56 +08:00
yetone
07b703dbd5 fix: ReAct parser (#2330) 2025-06-25 16:55:10 +08:00
brook hong
46d27ff0fd fix: error on calling transform_anthropic_usage on a nil value from bedrock (#2321) 2025-06-24 20:44:57 +08:00
miguelosana
0910696737 fix: Include transform_anthropic_usage (#2319)
Co-authored-by: Miguelo Sana <miguelo@incubeta.com>
2025-06-24 19:16:27 +08:00
yetone
b6668e2e4c feat: better copilot headers (#2313) 2025-06-24 02:32:51 +08:00
yetone
b72581b23b fix: ollama is_env_set (#2304) 2025-06-23 12:05:50 +08:00
yetone
6830f2d8b9 feat: tokens usage (#2300) 2025-06-23 03:13:37 +08:00
Andriy Rakhnin
a0fc91d4c8 fix: parse_api_key inheritance problem (#2252) 2025-06-23 01:13:15 +08:00
yetone
3033556d5b fix: tool calling (#2297) 2025-06-22 21:50:26 +08:00
Karl Bowden
ce9f6a8ec1 feat: fetch ollama models to display in the model selector (#2287) 2025-06-22 16:36:28 +08:00
Mahmoud Abduljawad
53c764a258 feat: scoped API key support with AVANTE_ prefix (#2285)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-22 14:36:51 +08:00
yetone
1e778e1c67 fix: limit tool use count (#2294) 2025-06-22 14:36:41 +08:00
yetone
17d14cbbd5 fix: claude cache control (#2279) 2025-06-21 01:22:52 +08:00
yetone
2ed75a2f97 refactor: rename thinking => think (#2247) 2025-06-17 14:08:03 +08:00
yetone
b8aa182c3f feat: allow empty api_key_name (#2228) 2025-06-15 15:34:26 +08:00
Avinash Thakur
8396cc77e4 feat: allow overriding provider headers (#2161) 2025-06-08 02:04:00 +08:00
yetone
ac5dc900eb fix: updating provider configuration (#2187) 2025-06-07 18:02:35 +08:00
yetone
b7959191a3 fix: claude assistant content cannot end with trailing whitespace (#2186) 2025-06-07 17:18:37 +08:00
yetone
a2f31bd2e2 fix: updating provider config (#2183) 2025-06-07 16:34:21 +08:00
Bryan Vaz
314be729cf fixes #2154 (#2179) 2025-06-07 14:37:55 +08:00
Avinash Thakur
ec0f4f9ae0 feat: allow custom input provider, removing dressing.nvim (#2173)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: yetone <yetoneful@gmail.com>
2025-06-06 23:04:35 +08:00
yetone
a341d1dc0b chores: add error message for provider configuration error (#2169) 2025-06-05 23:02:59 +08:00
yetone
b7a5184219 fix: compatible with the tool use format preferred by gemini (#2160) 2025-06-05 03:12:07 +08:00
yetone
54d2790fe0 fix: ignore errors in is_env_set (#2159) 2025-06-05 02:56:59 +08:00
yetone
220594a66f optimize: streaming diff performance (#2145) 2025-06-04 15:45:12 +08:00
yetone
47fa08ee5b fix: gemini generation config (#2133) 2025-06-04 01:57:25 +08:00
yetone
fc0e78e88f fix: gemini ReAct (#2132) 2025-06-04 01:14:06 +08:00
yetone
fe8e34ce86 feat: gemini support ReAct (#2125) 2025-06-03 17:47:09 +08:00
yetone
e9ab2ca2fd refactor: providers config (#2117) 2025-06-03 04:01:01 +08:00
yetone
3c47ebf971 fix: list copilot models (#2115) 2025-06-02 22:58:41 +08:00
yetone
1c4e062199 fix: models list (#2111) 2025-06-02 17:28:27 +08:00
Avinash Thakur
054e84840b feat: support multiple models in one provider (#2106) 2025-06-02 16:47:03 +08:00
yetone
746f071b37 feat: streaming diff (#2107) 2025-06-02 16:44:33 +08:00
yetone
bc403ddcbf feat: ReAct tool calling (#2104) 2025-05-31 08:53:34 +08:00
Lucas Pereira
9791bdc71e feat: add claude 4 text_editor tool (#2079) 2025-05-26 17:44:54 +08:00
kernitus
87c4c6b493 fix: gemini & vertex tools (#2053)
* fix: tool calling with gemini and vertex

* chore: remove unnecessary comments

* chore: fix doc type errors

* feat: do not manually pass tool use list
2025-05-20 22:06:25 +08:00
msvechla
2f806ca342 Resolve AWS credentials using default credentials provider chain for Bedrock (#1752) 2025-05-16 11:13:40 +08:00
Maxime Brunet
786d95464c fix(cohere): fix history messages (#2031) 2025-05-12 19:22:56 +08:00
Sang
56576c2481 feature: Allow users to define custom parse_api_key functions. (#1914)
Co-authored-by: yetone <yetoneful@gmail.com>
2025-05-09 14:00:33 +08:00
aniaan
1e80305af2 refactor(sidebar&claude): Simplify Claude provider and unify sidebar UI behavior (#2017) 2025-05-08 21:48:17 +08:00