Remove unnecessary code for streaming to non-streamable component
This commit is contained in:
parent
42574da37f
commit
68d6c16e7c
1 changed files with 0 additions and 5 deletions
|
|
@ -609,11 +609,6 @@ class Vertex:
|
|||
raise ValueError(
|
||||
f"You are trying to stream to a {self.display_name}. Try using a Chat Output instead."
|
||||
)
|
||||
if self.display_name in ["Chat Output"]:
|
||||
return
|
||||
raise ValueError(
|
||||
f"{self.display_name}: You are trying to stream to a non-streamable component."
|
||||
)
|
||||
|
||||
def _reset(self, params_update: Optional[Dict[str, Any]] = None):
|
||||
self._built = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue