fix: update docs to say 'stream_steps = True' (#1531)

This commit is contained in:
yuleisheng
2024-07-09 13:25:15 +08:00
committed by GitHub
parent 7ca2f98c6e
commit f24904216c

View File

@@ -32,7 +32,7 @@ class UserMessageRequest(BaseModel):
)
stream_tokens: bool = Field(
default=False,
description="Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream = True).",
description="Flag to determine if individual tokens should be streamed. Set to True for token streaming (requires stream_steps = True).",
)
timestamp: Optional[datetime] = Field(
None,