Commit Graph

195 Commits

Author SHA1 Message Date
msvechla
2f806ca342 Resolve AWS credentials using default credentials provider chain for Bedrock (#1752) 2025-05-16 11:13:40 +08:00
Maxime Brunet
786d95464c fix(cohere): fix history messages (#2031) 2025-05-12 19:22:56 +08:00
Sang
56576c2481 feature: Allow users to define custom parse_api_key functions. (#1914)
Co-authored-by: yetone <yetoneful@gmail.com>
2025-05-09 14:00:33 +08:00
aniaan
1e80305af2 refactor(sidebar&claude): Simplify Claude provider and unify sidebar UI behavior (#2017) 2025-05-08 21:48:17 +08:00
soulfy
f65e72900f fix(provider.openai) reasoning_content maybe empty string (#2000)
Co-authored-by: yetone <yetoneful@gmail.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-05-08 12:42:14 +08:00
yetone
3ab2a5d68e fix: check on_chunk if it is a nil (#1998) 2025-05-07 01:02:11 +08:00
yetone
60897ee9a6 fix: o1 model (#1992) 2025-05-06 19:32:55 +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
310fde258d fix: do not use openai-gpt-4o-mini as the default summary provider (#1984) 2025-05-04 15:51:53 +08:00
yetone
8f23cc85ab fix: gemini openai compatible api (#1976) 2025-05-03 14:09:46 +08:00
yetone
d3094d6c9f fix: help cmd (#1963) 2025-05-02 00:53:55 +08:00
yetone
f2330a0701 fix: dispatch agent (#1953) 2025-05-01 05:12:23 +08:00
Daniel
c2ec1a8e49 fix(openai): wrap single text block in array before appending images (#1948) 2025-05-01 03:33:53 +08:00
yetone
32ca1ed38e fix: set default auto suggestions provider to nil (#1951) 2025-05-01 02:50:01 +08:00
yetone
99a2e35ff3 fix: copilot gemini function calling (#1947) 2025-05-01 00:09:39 +08:00
e8c5f4f13e feat(provider/ollama): allow optional API key without blocking the request (#1898) 2025-04-30 22:17:31 +08:00
yetone
ca181b44c1 fix: gemini content parts is nil (#1942) 2025-04-30 14:07:59 +08:00
Chris Werner Rau
61dbbda3e8 fix: allow fields like api_key_name to be a table (#1938) 2025-04-30 03:07:31 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
Peter Cardenas
f9aa75459d fix: add support for tool usage for azure openai (#1922) 2025-04-25 10:21:32 +08:00
guanghechen
eb1cd44731 fix(provider): shouldn't ask user to input value when the env variable already been set (#1889) 2025-04-17 17:20:50 +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
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
8cca147b94 fix: the editing issue on claude (#1828) 2025-04-08 11:26:49 +08:00
PSeitz
1e2e233ff5 fix max_tokens for reasoning models (#1819) 2025-04-07 13:55:40 +08:00
yetone
cd13eeb7d9 fix: revert max_completion_tokens to max_tokens (#1741) 2025-03-27 16:53:55 +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
kyrisu
20fea1e717 refactor: rename is_o_series_model to is_reasoning_model (#1632) 2025-03-19 01:45:28 +08:00
kernitus
7d137d32cb fix: do not allow max_tokens & max_completion_tokens at the same time (#1633)
* fix: do not allow max_tokens & max_completion_tokens at the same time

* chore: fix formatting
2025-03-19 01:44:41 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
kernitus
10ce065d9e feat: update openai/azure params (#1604)
* feat(openai): use max_completion_tokens & reasoning_effort params

* feat(openai): use developer prompt for reasoning models

* docs: update openai config in readme

* refactor: follow lua style quotes

* fix(azure): rename max_tokens to max_completion_tokens

* refactor(azure): remove duplicate field

* refactor: update types

* refactor(azure): update type
2025-03-18 19:40:20 +08:00
Florian Engelhardt
3b86549485 Add extra headers for OpenAI (#1615) 2025-03-17 17:51:08 +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
dfdab1d41f fix: openai tool histories (#1606) 2025-03-17 03:06:26 +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
kernitus
9552a960ef fix(azure): attempt to call is_o_series_model (#1560) 2025-03-12 02:53:59 +08:00
yetone
7c3460628b fix: cannot serialise userdata (#1551) 2025-03-11 00:55:05 +08:00
yetone
aa2c2b0054 fix: stricter static typing (#1550) 2025-03-11 00:41:21 +08:00
miguelosana
3eaaaa8f5f feat: add vertex claude provider (#1549)
* feat: Add vertex claude provider

* remove debug logging

---------

Co-authored-by: Miguelo Sana <miguelo@incubeta.com>
2025-03-10 22:43:10 +08:00