Add stream messages from agent run for gradio chatbot (#32142)

* Add stream_to_gradio method for running agent in gradio demo
This commit is contained in:
Aymeric Roucher
2024-07-29 20:12:44 +02:00
committed by GitHub
parent 811a9caa21
commit a24a9a66f4
5 changed files with 134 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ We provide two types of agents, based on the main [`Agent`] class:
[[autodoc]] launch_gradio_demo
### stream_to_gradio
[[autodoc]] stream_to_gradio
### ToolCollection
[[autodoc]] ToolCollection