mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
stop infos when done streaming answers
This commit is contained in:
@@ -70,7 +70,7 @@ class StreamStopReason(Enum):
|
||||
class StreamStopInfo(BaseModel):
|
||||
stop_reason: StreamStopReason
|
||||
|
||||
stream_type: Literal["", "sub_questions", "sub_answer"] = ""
|
||||
stream_type: Literal["", "sub_questions", "sub_answer", "main_answer"] = ""
|
||||
# used to identify the stream that was stopped for agent search
|
||||
level: int | None = None
|
||||
level_question_nr: int | None = None
|
||||
|
Reference in New Issue
Block a user