♻️ (types.py): reformat ChatOutputResponse instantiation for better readability
This commit is contained in:
parent
2757ae4069
commit
de69b70688
1 changed files with 6 additions and 1 deletions
|
|
@ -111,7 +111,12 @@ class InterfaceVertex(Vertex):
|
|||
message = self._built_object
|
||||
artifact_type = ArtifactType.STREAM if stream_url is not None else ArtifactType.OBJECT
|
||||
artifacts = ChatOutputResponse(
|
||||
message=message, sender=sender, sender_name=sender_name, stream_url=stream_url, files=files, type=artifact_type,
|
||||
message=message,
|
||||
sender=sender,
|
||||
sender_name=sender_name,
|
||||
stream_url=stream_url,
|
||||
files=files,
|
||||
type=artifact_type,
|
||||
)
|
||||
|
||||
self.will_stream = stream_url is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue