co-mono/packages/ai/src/providers
Mario Zechner 52ce113754 Add supportsUsageInStreaming compat flag for OpenAI-compatible providers
Renamed from supportsStreamOptions to clarify this controls stream_options: { include_usage: true }.
Defaults to true (no behavioral change for existing providers).
Providers like gatewayz.ai that reject this parameter can set supportsUsageInStreaming: false in model config.

Based on #596 by @XesGaDeus
2026-01-10 00:34:06 +01:00
..
openai-codex fix(ai): clean up openai-codex models and token limits 2026-01-07 23:09:20 +08:00
anthropic.ts Clean-up. 2026-01-09 05:23:08 +01:00
google-gemini-cli.ts chore: fix template literal lint, update AGENTS.md to require fixing all check output 2026-01-08 23:44:26 +01:00
google-shared.ts fix(ai): remove <thinking> tag wrapping, convert to plain text on cross-model handoff 2026-01-08 21:19:16 +01:00
google-vertex.ts fix(ai): classify Google thoughtSignature as thinking 2026-01-06 20:47:19 +02:00
google.ts fix(ai): classify Google thoughtSignature as thinking 2026-01-06 20:47:19 +02:00
openai-codex-responses.ts fix(ai): improve codex stream error details 2026-01-07 22:44:22 +00:00
openai-completions.ts Add supportsUsageInStreaming compat flag for OpenAI-compatible providers 2026-01-10 00:34:06 +01:00
openai-responses.ts getApiKeyFromEnv -> getEnvApiKey 2025-12-25 02:38:10 +01:00
transorm-messages.ts fix(ai): remove <thinking> tag wrapping, convert to plain text on cross-model handoff 2026-01-08 21:19:16 +01:00