101 Commits

Author SHA1 Message Date
yetone
d45b622193 Auto select Copilot Response API for GPT-5 Codex models (#2808) 2025-10-30 22:38:32 +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
yetone
487972386e feat: support acp slash commands (#2775) 2025-10-16 19:05:57 +08:00
Dmitry Torokhov
0716819a0e feat(providers): fail gracefully when a provider is misconfigured (#2768) 2025-10-15 18:43:55 +08:00
Carlos Gomes
cecd0de6fc feat: Allow inline buttons and popup confirmation for both ACP and normal Providers (#2760)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-15 18:08:51 +08:00
Dmitry Torokhov
d0f0580d64 fix: sanitize loaded chat history
Ensure that chat history loaded from a file has resemblance of correct
data. Namely title and timestamp are present and are strings, and
entires, messages, and todos are lists. In case of inconsistencies
replace with empty/default data.

This should help with #2584.

More changes are needed to sanitize individual entries.
2025-10-11 16:41:45 -07:00
yetone
46583943b6 fix(sidebar): persist ACP session id in chat history (#2687) 2025-09-04 21:31:00 +08:00
yetone
4ac4c8ed3f feat(ui): expand tool use message (#2684) 2025-09-04 00:17:32 +08:00
yetone
15d19518b1 feat: better tool ui (#2668) 2025-09-01 22:31:38 +08:00
yetone
fe928d2f96 fix: get buffer in fast event (#2666) 2025-09-01 18:42:48 +08:00
yetone
5e0aa7e5c0 feat: support acp (#2649) 2025-08-31 07:41:19 +08:00
yetone
1e0c8520bc fix: the last used model caused the loss of the model configured in the profile in the model selector (#2600) 2025-08-12 15:33:31 +08:00
doodleEsc
faa3945428 feat: implement user-defined text shortcuts (#2512)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-23 11:54:59 +08:00
yetone
a08a2e3579 feat: add original_content for history message 2025-07-17 15:45:23 +08:00
yetone
2a16e7d4d9 fix: do not modify the tool_use input 2025-07-16 20:18:24 +08:00
Dmitry Torokhov
85a9fcef95 fix(types): add is_user_declined field to AvanteLLMMessageContentItem
This field has been added to AvanteLLMToolResult, so it needs to be
included in AvanteLLMMessageContentItem as well.
2025-07-16 12:49:15 +08:00
yetone
b8bb0fd969 refactor: llm tool parameters (#2449) 2025-07-15 16:40:25 +08:00
yetone
203861bb71 feat: init project (#2395) 2025-07-02 18:44:30 +08:00
yetone
c48808b4a8 fix: tool logs rendering (#2315) 2025-06-24 11:00:26 +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
Karl Bowden
ce9f6a8ec1 feat: fetch ollama models to display in the model selector (#2287) 2025-06-22 16:36:28 +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
Brewinski
8572a4832d fix: handle user-declined tool executions separately from errors (#2258) 2025-06-21 00:50:00 +08:00
yetone
fcf457ed7f fix: refine tools (#2229) 2025-06-16 01:27:39 +08:00
yetone
ad05a802f9 feat: todos (#2184) 2025-06-15 15:10:07 +08:00
Avinash Thakur
8396cc77e4 feat: allow overriding provider headers (#2161) 2025-06-08 02:04:00 +08:00
yetone
801adc4692 feat: delete tool use messages tool (#2158) 2025-06-05 02:51:46 +08:00
yetone
e9ab2ca2fd refactor: providers config (#2117) 2025-06-03 04:01:01 +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
yetone
edb78e5646 fix: uncompleted task (#2086) 2025-05-27 15:59:56 +08:00
aniaan
aae4cc4014 refactor(cmp): Extract get_chat_mentions for third-party cmp source usage (#2027) 2025-05-12 20:19:42 +08:00
yetone
2d6527197d feat: manual compact instead of automatic compact (#1996) 2025-05-06 20:57:58 +08:00
yetone
60897ee9a6 fix: o1 model (#1992) 2025-05-06 19:32:55 +08:00
yetone
e21f1f07bd fix: filter out all dummy messages when summarize (#1989) 2025-05-05 17:34:53 +08:00
yetone
448efbb842 fix: disable compact history messages for dispatch agent (#1954) 2025-05-01 05:19:54 +08:00
yetone
f2330a0701 fix: dispatch agent (#1953) 2025-05-01 05:12:23 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
Ricardo Maraschini
cff8cbf9c5 feat: add config for ollama keep alive (#1858) 2025-04-17 10:47:51 +08:00
yetone
33f95aedde feat: streaming json parser (#1883) 2025-04-16 23:41:38 +08:00
yetone
1fdb1a7b84 fix: send the latest file content each time (#1879) 2025-04-15 20:16:13 +08:00
yetone
04336913b3 Revert "fix max_tokens for reasoning models (#1819)" (#1839)
* Revert "fix max_tokens for reasoning models (#1819)"

This reverts commit 1e2e233ff5.

* Revert "fix: revert max_completion_tokens to max_tokens (#1741)"

This reverts commit cd13eeb7d9.

* fix: nvim_version
2025-04-09 16:58:54 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
yetone
06757e8bf5 fix: dispatch agent missing tool histories (#1794) 2025-04-01 23:29:51 +08:00
yetone
cd13eeb7d9 fix: revert max_completion_tokens to max_tokens (#1741) 2025-03-27 16:53:55 +08:00
yetone
39787969c7 fix: memory (#1718) 2025-03-26 00:45:54 +08:00
yetone
f84cb2896d fix: prohibit repeated reading of the file (#1708) 2025-03-25 15:54:47 +08:00