83 Commits

Author SHA1 Message Date
brook hong
de6febb094 fix: hangs on tool calling to read_todos (#2835) 2025-11-28 20:03:46 +08:00
Dmitry Torokhov
0716819a0e feat(providers): fail gracefully when a provider is misconfigured (#2768) 2025-10-15 18:43:55 +08:00
Florian Engelhardt
5e4bb50dda Add support for Claude Sonnet 4.5 (#2736) 2025-10-02 11:29:30 +08:00
brook hong
751e4c0913 feat: support multiple models for bedrock (#2648) 2025-08-28 20:23:05 +08:00
yetone
6bcf7dfbe7 fix: still use str_replace_editor (#2587) 2025-08-06 11:39:13 +08:00
yetone
1452c7233b fix: invalid json format (#2531) 2025-07-24 17:37:10 +08:00
Dmitry Torokhov
aa606b6147 refactor(history): change HistoryMessage:new() to accept role and item
Change the constructor to accept role and a single content item instead
of raw AvanteLLMMessage instance. This will help when we will start
changing message.content from being a string or a list of tables to just
a string or a single table.
2025-07-22 17:49:28 +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
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
yetone
6830f2d8b9 feat: tokens usage (#2300) 2025-06-23 03:13:37 +08:00
yetone
3033556d5b fix: tool calling (#2297) 2025-06-22 21:50:26 +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
Avinash Thakur
8396cc77e4 feat: allow overriding provider headers (#2161) 2025-06-08 02:04:00 +08:00
yetone
b7959191a3 fix: claude assistant content cannot end with trailing whitespace (#2186) 2025-06-07 17:18:37 +08:00
yetone
746f071b37 feat: streaming diff (#2107) 2025-06-02 16:44:33 +08:00
Lucas Pereira
9791bdc71e feat: add claude 4 text_editor tool (#2079) 2025-05-26 17:44:54 +08:00
aniaan
1e80305af2 refactor(sidebar&claude): Simplify Claude provider and unify sidebar UI behavior (#2017) 2025-05-08 21:48:17 +08:00
Juan Carlos
b15a4672c0 fix: enable Claude text editor for claude-3.5 model (#1892) 2025-05-05 00:53:32 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
yetone
33f95aedde feat: streaming json parser (#1883) 2025-04-16 23:41:38 +08:00
yetone
8cca147b94 fix: the editing issue on claude (#1828) 2025-04-08 11:26:49 +08:00
yetone
b41556ee21 feat: extract text editor tools (#1726) 2025-03-26 17:59:59 +08:00
yetone
a2aec079c9 feat: extract str_replace tool (#1710) 2025-03-25 18:43:57 +08:00
yetone
25e9b1c111 fix: copilot's openai tool description cannot use long text (#1700) 2025-03-24 19:54:06 +08:00
yetone
49ae3c84fd feat: add view_range parameter and remove read_file llm tool (#1690) 2025-03-24 15:07:14 +08:00
yetone
4749e4ea1a fix: filter out create_file tool in claude provider (#1677) 2025-03-22 22:24:29 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
brook hong
e204ca1cf3 feat: support tools in bedrock (#1598) 2025-03-17 13:42:18 +08:00
yetone
3504e64407 fix: empty message content (#1611) 2025-03-17 05:15:57 +08:00
yetone
eb5a2f6cca fix: missing tool use (#1610) 2025-03-17 05:00:03 +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
e332d74c06 fix: anthropic rate limit (#1583) 2025-03-14 14:13:47 +08:00
yetone
f9f92dc9d4 Revert "fix: Always handle the extra response outside of stream, such as the exceptions from bedrock (#1526)" (#1569)
This reverts commit f9ab6934d2.
2025-03-12 19:10:05 +08:00
miguelosana
fee1aacdfc feat: Add claude tools to vertex claude provider (#1559)
* feat: Add claude tools to vertex claude provider

* fix: export transform_tool from claude.lua

* Include type for transfor_tool

---------

Co-authored-by: Miguelo Sana <miguelo@incubeta.com>
2025-03-12 18:43:44 +08:00
brook hong
f9ab6934d2 fix: Always handle the extra response outside of stream, such as the exceptions from bedrock (#1526) 2025-03-12 16:29:32 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
yetone
5aa55689ff fix: bedrock claude do not support prompt caching (#1507) 2025-03-06 18:31:56 +08:00
yetone
662b6a547b fix: cache prompt count (#1499) 2025-03-06 00:08:59 +08:00
yetone
93c2e1fd83 feat: cache tool use (#1496) 2025-03-05 19:43:18 +08:00
yetone
cc078a5337 feat: support redacted thinking (#1492) 2025-03-05 18:53:24 +08:00
yetone
0d592f440c Revert "refactor: message content (#1424)" (#1442)
This reverts commit ae8497faf1.
2025-03-01 13:25:51 +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
5abe579019 fix: retry when rate limited (#1417) 2025-02-27 12:52:58 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
8d888c2861 feat: support claude-3.7-sonnet reasoning (#1382) 2025-02-25 11:22:22 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00