Commit Graph

56 Commits

Author SHA1 Message Date
XuJiawei
42028811e4 refine: replace vim.fn.system with vim.system (#2863) 2025-12-13 18:58:10 +08:00
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
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
yetone
cf5234b4d9 optimize: reduce copilot invocation consumption 2025-07-17 14:21:34 +08:00
yetone
e89f1fd922 fix: copilot do not carry tools in ReAct situations (#2331) 2025-06-25 18:12:56 +08:00
yetone
b6668e2e4c feat: better copilot headers (#2313) 2025-06-24 02:32:51 +08:00
Avinash Thakur
8396cc77e4 feat: allow overriding provider headers (#2161) 2025-06-08 02:04:00 +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
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
kyrisu
20fea1e717 refactor: rename is_o_series_model to is_reasoning_model (#1632) 2025-03-19 01:45:28 +08:00
brook hong
e204ca1cf3 feat: support tools in bedrock (#1598) 2025-03-17 13:42:18 +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
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
Umut Önder
dbe31a866a Fix attempt to call field 'is_o_series_model' in Copilot provider (#1514) 2025-03-07 11:14:36 +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
Xiaochao Dong
81067b31aa fix(copilot): fail to decode the empty token file (#1414) 2025-02-27 11:44:24 +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
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00
Lucas Pereira
36f8db9629 feat: allow disabling tools for claude & copilot (#1300) 2025-02-20 00:00:10 +08:00
yetone
ce55d7ac9e refactor: better value name (#1261) 2025-02-13 01:39:02 +08:00
yetone
402c7f9665 fix: copilot tool histories (#1197) 2025-02-06 19:19:50 +08:00
yetone
d1cc23fa54 fix: multiple tool use histories and disable tools (#1185) 2025-02-06 02:46:52 +08:00
yetone
3aaf7dad77 feat: tools support copilot (#1183) 2025-02-05 23:47:52 +08:00
hat0uma
0536c6e552 fix(copilot): Prioritize xdg_config for OAuth token references on Windows (#1037) 2025-01-05 20:45:25 +08:00
Sam Jones
9abbec4c5b fix(copilot): refreshing copilot tokens (#935)
* fix: wait for github copilot token to refresh before calling completion

* feat: timer to refresh copilot token to prevent 401
2024-12-29 22:58:13 -08:00
Arkuna
57311bf8cd fix: Get copilot refresh token asynchronously (#918) 2024-12-01 14:00:42 +08:00
yetone
3beed68157 fix: copilot url join (#871) 2024-11-19 06:20:42 +08:00
yetone
ff85b9c1e2 refactor: remove redundant local field to facilitate provider configuration (#858) 2024-11-17 02:55:40 +08:00
Christopher Brewin
c516883b99 fix(copilot): refresh token before sending the request (#791)
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-11-06 00:07:02 -05:00
yetone
1e8abbf798 feat: memory 🧠 (#793) 2024-11-04 16:20:28 +08:00
Aaron Pham
bd6ce346c1 fix(copilot): cached tokens to avoid rate limits (closes #557) (#746) 2024-10-22 04:37:17 -04:00
Aaron Pham
2b89f0d529 perf(anthropic): prompt-caching (#517)
bring back prompt caching support on Anthropic

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 03:19:33 -04:00
Aaron Pham
0d8098e4eb fix(style): add parentheses (#471)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
e8c71d931e chore: run stylua [generated] (#460)
* chore: add stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: running stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:19:54 -04:00
Aaron Pham
4ad913435c feat(templates): avanterules filetype support (closes #254) (#466)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
Aaron Pham
0557deeab7 feat: tokenizers (#429)
* feat: tokenizers

This reverts commit d5a4db8321.

* fix(inputs): #422

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-31 13:39:50 -04:00
yetone
d5a4db8321 Revert tokenizers (#423)
* Revert "fix: add missing "with" in README"

This reverts commit bf1e7f1f17.

* Revert "feat: tokenizers (#407)"

This reverts commit d2095ba267.
2024-08-31 22:45:31 +08:00
Aaron Pham
d2095ba267 feat: tokenizers (#407)
* feat: autobuild tiktoken lib and schenanigans

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: revert readme changes

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(build): windows

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>

* chore(plugin): early load commands and base setup

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(build): make sync

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* feat: rust go vroom vroom

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* feat: scuffed afaf implementation binding go brrrr

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: remove dups

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(tokens): calculate whether we should do prompt_caching (fixes #416)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: ignore lockfiles

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* Update README.md

* Update crates/avante-tokenizers/README.md

* chore: remove unused

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: remove auto build

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
Co-authored-by: yuchanns <me@yuchanns.xyz>
2024-08-31 07:19:59 -04:00
Aaron Pham
b09ff856b7 fix(copilot): support credentials saved with copilot.vim (#404)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 15:12:20 -04:00
Aaron Pham
61acd714ba fix(copilot): doesn't yet support image (#398)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 11:59:40 -04:00
yetone
ec4d2eee0b fix: copilot config path (#392) 2024-08-30 15:13:52 +08:00
Aaron Pham
483f71dba4 feat(provider): support copilot (#381)
* feat(provider): add back support for copilot

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* docs: add acknowledgement

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 23:36:39 -04:00
yetone
bfa203018e fix: remove copilot provider (#318) 2024-08-28 20:51:20 +08:00
Aaron Pham
7f9b69c3bb fix(copilot): make sure to set integration id (#287)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:00:30 -04:00