Commit Graph

36 Commits

Author SHA1 Message Date
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
Aaron Pham
d7be4a59c2 fix(openai): enable image support on OpenAI platform only (fixes #282) (#284)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 11:35:25 -04:00
Aaron Pham
561f2f3380 perf(copilot): make signin and check keys API async (#275)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 04:43:44 -04:00
Aaron Pham
a7d3defa3d feat(llm): add support for parsing secret vault (#200)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 17:52:38 -04:00
Siyu Liu
1245508063 fix(copilot): correct typo for gpt4 (#164) 2024-08-23 01:47:54 -04:00
Aaron Pham
6475407d0d fix(llm): persistent key check for override class (#158)
* fix(llm): make sure to allow passing custom module

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

* fix: correct custom class

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

* fix: correct attribute

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 23:52:49 -04:00
Aaron Pham
8d52229f16 refactor(llm): cleanup providers for future ops (closes #134) (#147)
support allow_insecure and proxy ops

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 01:48:40 -04:00