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.89k stars 4.25k forks source link

fix: Implement useFlowUpdate hook and refactor node code management #4783

Closed Cristhianzl closed 5 days ago

Cristhianzl commented 6 days ago

This pull request introduces several changes to the frontend codebase, primarily focusing on updating the flow management and integrating a new hook for updating node code. The key changes involve exporting interfaces, creating a new hook, and modifying the CodeAreaModal component to utilize the new hook.

Key Changes:

Interfaces and Hooks:

Component Modifications:

Type Definitions: