🐛 (types.py): add missing artifact_type to ChatOutputResponse to ensure correct artifact type is set
This commit is contained in:
parent
698ae4f296
commit
2757ae4069
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ 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
|
||||
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