Commit Graph

142 Commits

Author SHA1 Message Date
yetone
d75094b815 fix: bedrock (#1524)
* fix: bedrock

* fix: bad variable name

* fix: missing metatable
2025-03-08 02:17:28 +08:00
yetone
4d983532a1 fix: more readable value name (#1521) 2025-03-07 20:27:11 +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
11305eaacd fix: bedrock (#1516) 2025-03-07 11:12:59 +08:00
yetone
25dee44de9 fix: bedrock (#1511) 2025-03-07 00:30: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
brook hong
e1d2d825e2 fix: handle bedrock exceptions (#1483) 2025-03-04 23:47:28 +08:00
brook hong
6bd966e8e2 fix: pass context to provider for stream data parsing (#1475)
* fix: pass context to provider for stream data parsing

* fix: luatype

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-04 00:20:27 +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
Matthew Brookhart
e69e7eceeb feat: support Microsoft Entra ID authentication (#1274)
Co-authored-by: Matthew Brookhart <Matthew Brookhart>
2025-02-27 12:00:36 +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
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
yetone
5b006624e6 feat: cursor planning mode enabled by default (#1316) 2025-02-20 13:06:17 +08:00
Lucas Pereira
36f8db9629 feat: allow disabling tools for claude & copilot (#1300) 2025-02-20 00:00:10 +08:00
zerogog
a17d4b00e2 fix: #1176 Gemini model in OpenRouter not finish their response (#1292) 2025-02-18 22:59:16 +08:00
yetone
b21d2632d3 feat: cursor planning mode (#1289) 2025-02-17 18:49:29 +08:00
8uff3r
f70eb1040c fix(providers/openai): check for vim.NIl on tool_calls (#1283) 2025-02-17 12:54:58 +08:00
Enes Kutay SEZEN
0a146dc63a docs: add reasoning_effort docs (#1286) 2025-02-17 12:52:22 +08:00
yetone
ce55d7ac9e refactor: better value name (#1261) 2025-02-13 01:39:02 +08:00
Daniel Tabuenca
987275c64a feat: bedrock temporary credentials support (#1207) 2025-02-09 01:40:20 +08:00
yetone
c2b3cd7a32 fix: check gemini api key (#1205) 2025-02-07 13:21:45 +08:00
yetone
402c7f9665 fix: copilot tool histories (#1197) 2025-02-06 19:19:50 +08:00
yetone
5f6612fb8c fix: support multiple tool use (#1192) 2025-02-06 16:41:28 +08:00
yetone
d1cc23fa54 fix: multiple tool use histories and disable tools (#1185) 2025-02-06 02:46:52 +08:00
yetone
e1125fca54 feat: bedrock use tools (#1184) 2025-02-06 00:03:49 +08:00
yetone
3aaf7dad77 feat: tools support copilot (#1183) 2025-02-05 23:47:52 +08:00
yetone
1437f319d2 feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
yetone
ef4b6077ec feat: supports openrouter reasoning (#1174) 2025-02-04 01:38:18 +08:00
ken
43269cc07f Feat: Add Amazon Bedrock provider (#1167) 2025-02-03 22:33:25 +08:00
yetone
cd7390de21 fix: remove unnecessary think tag (#1173) 2025-02-03 22:32:41 +08:00
yetone
8536d102be fix: reasoning content processing (#1171) 2025-02-03 21:55:12 +08:00
yetone
5ac934f228 chores: remove debug log (#1160) 2025-02-02 02:29:41 +08:00
yetone
b5ac768416 feat: supports reasoning_content (#1159) 2025-02-02 02:12:14 +08:00
kernitus
499b7a854b chore: make azure o series models stream 2025-01-29 13:40:43 +08:00
William Heryanto
369410bdb1 fix: Gemini not reaching end state (#1027) 2025-01-05 21:11:04 +08:00
hat0uma
0536c6e552 fix(copilot): Prioritize xdg_config for OAuth token references on Windows (#1037) 2025-01-05 20:45:25 +08:00
yetone
3ec847e3cb fix(ci): lua lint (#1035) 2025-01-05 17:11:15 +08:00
Larry Lv
ec5d1abf34 fix(openai): support all o series models (#1031)
Before this change, since `max_completion_tokens` was not set for `o` series models, the completion request will time out sometimes. This makes sure it converts the `max_tokens` parameter to `max_completion_tokens` for `o` series models.

I tested this change with `gpt-4o-mini`, `o1-mini` and `o3-mini`, and they all still work as expected.
2025-01-05 13:23:33 +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
kernitus
0d62ffd1cb fix: azure o1 unsupported options (#995) 2024-12-24 22:40:59 +08:00