Merge PR #596: Add supportsUsageInStreaming compat flag

This commit is contained in:
Mario Zechner 2026-01-10 00:34:29 +01:00
commit 14be8efba8
14 changed files with 9 additions and 1 deletions

View file

@ -5,6 +5,7 @@
### Added
- Added `GOOGLE_APPLICATION_CREDENTIALS` env var support for Vertex AI credential detection (standard for CI/production).
- Added `supportsUsageInStreaming` compatibility flag for OpenAI-compatible providers that reject `stream_options: { include_usage: true }`. Defaults to `true`. Set to `false` in model config for providers like gatewayz.ai. ([#596](https://github.com/badlogic/pi-mono/pull/596) by [@XesGaDeus](https://github.com/XesGaDeus))
### Fixed