langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

feat: Add PlaygroundButton component to flow toolbar #4712

Closed Cristhianzl closed 2 days ago

Cristhianzl commented 5 days ago

This pull request introduces a new PlaygroundButton component to the flow toolbar in the frontend. The PlaygroundButton component replaces the existing logic for displaying the playground button, providing a cleaner and more modular implementation.

This PR also fixes a bug in which the icon on Playground was the old one when we didn't have ChatInput or ChatOutput on Canvas.

Key changes include:

New Component Addition:

Integration with Flow Toolbar:

Styling Adjustments: