Skip to content

[BUG] GradioUI displays the planing twice when streaming #1316

@albertvillanova

Description

@albertvillanova

Describe the bug
When streaming outputs, the GradioUI displays the plan twice:

Image

Related to:

Code to reproduce the error
The code in examples/gradio_ui.py

Error logs (if any)
Provide error logs if there are any.

Expected behavior
A clear and concise description of what you expected to happen.

Packages version:
Run pip freeze | grep smolagents and paste it here.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions