Commit Graph

990 Commits

Author SHA1 Message Date
Mario Zechner
b221d10bd8 Add [Unreleased] section for next cycle 2026-03-17 18:13:12 +01:00
Mario Zechner
9595be4bab Release v0.59.0 2026-03-17 18:12:23 +01:00
Mario Zechner
4095a88045 docs(changelog): update unreleased entries 2026-03-17 18:10:09 +01:00
Mario Zechner
a7559f01e9 feat(ai): lazy-load provider modules for faster startup fixes #2297 2026-03-17 18:03:24 +01:00
Mario Zechner
dd53eb56ee fix(ai): expose provider response ids on assistant messages fixes #2245 2026-03-17 17:11:38 +01:00
Mario Zechner
16a9b7590c chore(ai): drop anthropic client injection test closes #2057 2026-03-17 13:32:06 +01:00
Mario Zechner
635bda80d4 Merge commit 0acb65fe from PR #2058 2026-03-17 13:31:00 +01:00
Mario Zechner
747521227f fix(ai): correct Claude 4.6 context overrides closes #2286 2026-03-17 12:32:03 +01:00
Mario Zechner
40a1300089 Add [Unreleased] section for next cycle 2026-03-16 20:29:18 +01:00
Mario Zechner
b28240434e Release v0.58.4 2026-03-16 20:28:29 +01:00
Mario Zechner
aac0e0c1bf Add [Unreleased] section for next cycle 2026-03-15 20:34:10 +01:00
Mario Zechner
1c93f9f099 Release v0.58.3 2026-03-15 20:33:25 +01:00
Mario Zechner
fb52c26d88 Add [Unreleased] section for next cycle 2026-03-15 19:21:36 +01:00
Mario Zechner
6c60f8a2be Release v0.58.2 2026-03-15 19:20:14 +01:00
Mario Zechner
0b48e2518f docs: clarify compat flags for openai-compatible local servers closes #2177 2026-03-15 16:11:40 +01:00
Mario Zechner
e645995a4a fix(ai): fix anthropic oauth manual callback and refresh flow closes #2169 2026-03-15 15:40:50 +01:00
Mario Zechner
e5b5738255 Add [Unreleased] section for next cycle 2026-03-14 12:40:11 +01:00
Mario Zechner
56559f9fee Release v0.58.1 2026-03-14 12:39:27 +01:00
Mario Zechner
83e8c88a2e docs: add missing changelog entries for v0.58.0..HEAD 2026-03-14 12:38:33 +01:00
Mario Zechner
ad48b52de4 fix(ai): align codex websocket headers and terminate SSE closes #1961 2026-03-14 12:23:17 +01:00
Mario Zechner
1a4d153d7a fix(ai): limit Bedrock prompt caching to Claude models\n\ncloses #2053 2026-03-14 05:20:41 +01:00
Mario Zechner
03ad7ecee7 fix(ai): add qwen-chat-template compat mode closes #2020 2026-03-14 05:20:27 +01:00
Mario Zechner
c961cda2cd fix(ai): harden Bedrock unsigned thinking replay closes #2063 2026-03-14 05:06:14 +01:00
Mario Zechner
62064b2b64 fix(ai): support xhigh for opus 4.6 by model id closes #2040 2026-03-14 04:55:03 +01:00
Mario Zechner
a79ca41190 fix(ai): handle unknown finish_reason in openai-completions gracefully
Map unknown finish_reason values (e.g. "end" from Ollama/LM Studio) to
"stop" instead of throwing, since assistant content is already produced.

fixes #2142
2026-03-14 04:01:22 +01:00
Mario Zechner
b90f69297b Add [Unreleased] section for next cycle 2026-03-14 03:39:42 +01:00
Mario Zechner
c00653255d Release v0.58.0 2026-03-14 03:29:31 +01:00
Mario Zechner
27f8835a7f chore: add missing changelog entries for commits since v0.57.1 2026-03-14 03:27:48 +01:00
Mario Zechner
c7309aedac fix(ai): replace curl with fetch in Anthropic OAuth token exchange 2026-03-14 03:21:08 +01:00
Mario Zechner
9b794558c6 chore(ai): refresh generated models 2026-03-14 03:11:15 +01:00
Armin Ronacher
d574c03e19 Raise context length to 1M (#2135) 2026-03-14 01:34:25 +01:00
Mario Zechner
933348593c fix(ai): send tool result images in function_call_output closes #2104 2026-03-14 00:49:40 +01:00
Mario Zechner
4aa25bfb72 docs(agent,ai): clarify non-throwing stream and hook contracts 2026-03-13 22:54:41 +01:00
Mario Zechner
92882dc4cc fix(ai): improve anthropic oauth flow fixes #2119 2026-03-13 22:38:34 +01:00
sallyom
0acb65fe1c feat: allow injecting pre-built Anthropic client
Add optional `client` field to AnthropicOptions so callers can pass
alternative SDK clients (e.g. AnthropicVertex) that
share the same messages.stream() API. When omitted, behavior is unchanged.

Signed-off-by: sallyom <somalley@redhat.com>
2026-03-11 11:58:29 -04:00
Mario Zechner
4535415300 fix(ai): capture usage from choice.usage for non-standard OpenAI-compatible providers
Some OpenAI-compatible providers (e.g., Moonshot/Kimi) return usage
data in chunk.choices[0].usage instead of the standard chunk.usage.
Extract usage parsing into a helper and check choice.usage as fallback.

closes #2017
2026-03-10 16:28:39 +01:00
Geraldo Dutra Neto
23109b113d fix: send assistant content as string in openai-completions provider (#2008)
The OpenAI Chat Completions API standard format for assistant message
content is a plain string. Sending it as an array of
{type:"text", text:"..."} objects causes some models (notably DeepSeek
V3.2 via NVIDIA NIM) to mirror the content-block structure literally
in their output. This produces recursive nesting where each turn wraps
the previous content blocks deeper:

  [{'type':'text','text':'[{\'type\':\'text\',\'text\':...}]'}]

The fix unifies the assistant content serialization to always use a
joined string — the same approach already used for the github-copilot
provider — for all openai-completions backends.

Affected models observed: deepseek-ai/deepseek-v3.2 (nvidia provider).
Models like GLM-5, GPT-4, Claude were unaffected as they tolerate
array content, but sending a standard string is safer for all.

Co-authored-by: geraldoaax <geraldoaax@users.noreply.github.com>
2026-03-10 16:04:11 +01:00
Ben Hayden
fd0c7c3bdb fix(ai): improve GitHub Copilot OAuth polling (#1994) 2026-03-09 20:15:17 +01:00
Gordon Hui
01f7faae9c fix(ai): support GOOGLE_CLOUD_API_KEY for google-vertex (#1948) (#1976) 2026-03-09 13:30:22 +01:00
Drew Brown
d9cfa115be fix(ai): improve error details in response.failed handler (#1956) 2026-03-08 21:34:01 +01:00
Mario Zechner
b370cd5a5c Add [Unreleased] section for next cycle 2026-03-08 00:56:38 +01:00
Mario Zechner
a9cedccdde Release v0.57.1 2026-03-08 00:55:52 +01:00
Mario Zechner
ade6a35e75 fix(ai): detect z.ai context overflow
closes #1937
2026-03-08 00:18:29 +01:00
Mario Zechner
b279d03d33 Add [Unreleased] section for next cycle 2026-03-07 14:44:23 +01:00
Mario Zechner
3c3d63e161 Release v0.57.0 2026-03-07 14:43:35 +01:00
Mario Zechner
8f2d3ad85e chore(changelog): audit unreleased entries 2026-03-07 14:42:35 +01:00
Mario Zechner
a3f05423d9 feat(coding-agent): add provider payload hook 2026-03-07 14:34:28 +01:00
Mario Zechner
1e52a687ae Add [Unreleased] section for next cycle 2026-03-06 17:07:29 +01:00
Mario Zechner
dd66b5cc3e Release v0.56.3 2026-03-06 17:06:42 +01:00
Mario Zechner
e1d2c355e2 docs: add missing changelog entries for #1871, #1878, and New Features section 2026-03-06 17:05:41 +01:00