mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 22:59:03 +08:00
fix: metadata in generate npe issue (#3166)
This commit is contained in:
parent
7753ba2d37
commit
9720d6b7a5
@ -122,7 +122,7 @@ class MessageEndStreamResponse(StreamResponse):
|
||||
"""
|
||||
event: StreamEvent = StreamEvent.MESSAGE_END
|
||||
id: str
|
||||
metadata: Optional[dict] = None
|
||||
metadata: dict = {}
|
||||
|
||||
|
||||
class MessageFileStreamResponse(StreamResponse):
|
||||
|
Loading…
x
Reference in New Issue
Block a user