Mario Zechner
f84c4c89f5
fix(ai): restore FakeOpenAI mock .withResponse() so openai-completions tests pass
...
The openai-completions provider now calls .withResponse() on the
create() result to surface HTTP status/headers for the new onResponse
hook (d131fcd4 ). The FakeOpenAI test mock only returned an async
iterable, so 4 tests in openai-completions-tool-choice.test.ts that
actually consume the stream failed with "withResponse is not a function".
Updated the mock to return a Promise augmented with .withResponse()
resolving to { data: <async iterable>, response: { status, headers } }.
closes #3304
2026-04-16 22:57:30 +02:00
Mario Zechner
6044cabb15
fix(ai): preserve cache_write_tokens in completions stream usage closes #2802
2026-04-04 21:39:11 +02:00
Kao Félix
758ede4da0
Enable tool streaming for newer Z.ai models ( #2732 )
2026-03-31 14:28:24 +02:00
Mario Zechner
78833dfcbc
chore(ai): format openai completions test
2026-03-21 09:16:49 +01:00
Cheng-Zi-Qing
7e2689ac18
packages/ai: ignore null chunks in openai-completions streams ( #2466 )
2026-03-20 20:01:28 +01:00
PriNova and Mario Zechner
f704ee7255
fix(ai): use OpenRouter reasoning payload ( #2298 )
...
* fix(ai): use OpenRouter reasoning payload
* fix(coding-agent): stop updating packages on startup closes #1963
* fix(ai): add openrouter thinkingFormat compat
---------
Co-authored-by: Mario Zechner <badlogicgames@gmail.com >
2026-03-18 11:23:27 +01:00
Mario Zechner
d914d1c199
fix(coding-agent): handle z.ai network_error closes #2313
2026-03-17 22:34:49 +01:00
Mario Zechner
7b96041068
fix(ai): map groq qwen3 reasoning effort values closes #1745
2026-03-03 16:44:42 +01:00
Mario Zechner
ff0eb3ecd4
fix(ai): omit strict for unsupported openai completions
2026-02-02 00:44:55 +01:00
williamtwomey and williamtwomey
41d2c7ff38
OpenAI completions toolChoice fix ( #998 )
...
* openai completions tools fix
* Reset generated file
---------
Co-authored-by: williamtwomey <ai@shadylawn.net >
2026-01-28 03:03:15 +01:00