[Frontend] Fix usage incorrectly returned with empty stream_options` (#36379)

Signed-off-by: Csrayz <33659823+Csrayz@users.noreply.github.com>
This commit is contained in:
Csrayz
2026-03-13 11:33:04 +08:00
committed by GitHub
parent 891c60dcd5
commit bc2c0c86ef
2 changed files with 13 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ AnyResponseFormat: TypeAlias = (
class StreamOptions(OpenAIBaseModel):
include_usage: bool | None = True
include_usage: bool | None = False
continuous_usage_stats: bool | None = False