mirror of
https://gh-proxy.org/https://github.com/klinsmaya/openclaw.git
synced 2026-11-10 19:27:18 +08:00
* fix(venice): disable streaming to prevent SDK crash with usage-only chunks (#15819) Venice.ai API returns SSE chunks containing only usage metadata without a choices array. The SDK crashes trying to access choices[0] on these chunks with: Cannot read properties of undefined (reading '0') Changes: - Disable streaming by default for all Venice models - Apply to both static catalog and dynamically discovered models - Users can explicitly enable streaming in config if needed This is a workaround until the SDK handles Venice's streaming format. Fixes #15819 * fix(venice): avoid usage streaming chunks for Venice models (openclaw#15878) thanks @Shuai-DaiDai --------- Co-authored-by: 帅小呆1号 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>