Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +2 -2
chain_app.py
CHANGED
@@ -697,8 +697,8 @@ async def main(message: cl.Message):
|
|
697 |
connectors=[],
|
698 |
)
|
699 |
|
700 |
-
|
701 |
-
|
702 |
@cl.on_settings_update
|
703 |
async def setup_agent(settings):
|
704 |
print("on_settings_update", settings)
|
|
|
697 |
connectors=[],
|
698 |
)
|
699 |
|
700 |
+
for event in stream:
|
701 |
+
await cl.Message(content=event.text).send()
|
702 |
@cl.on_settings_update
|
703 |
async def setup_agent(settings):
|
704 |
print("on_settings_update", settings)
|