peizhe.chen 42837a04bf
fix(models): preserve stream usage compat opt-ins (#45733)
Preserves explicit `supportsUsageInStreaming` overrides from built-in provider
catalogs and user config instead of unconditionally forcing `false` on non-native
openai-completions endpoints.

Adds `applyNativeStreamingUsageCompat()` to set `supportsUsageInStreaming: true`
on ModelStudio (DashScope) and Moonshot models at config build time so their
native streaming usage works out of the box.

Closes #46142

Co-authored-by: pezy <peizhe.chen@vbot.cn>
2026-03-15 20:21:11 +01:00
..
2026-03-15 08:23:01 -07:00
2026-03-14 15:52:11 -05:00
2026-03-14 00:51:12 +00:00
2026-03-15 08:23:01 -07:00
2026-03-14 17:27:54 +02:00
2026-03-14 15:52:11 -05:00