langflow-ai / langflow

⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.
http://www.langflow.org
MIT License
17.87k stars 2.68k forks source link

add handle error on requests - global variables #1808

Closed Cristhianzl closed 2 weeks ago

Cristhianzl commented 2 weeks ago

📝 (index.tsx): Remove unused import and update dependencies in InputGlobalComponent 📝 (index.tsx): Add async/await to handleDelete function in InputGlobalComponent 📝 (index.tsx): Add try/catch block to registerGlobalVariable function in API controller 📝 (index.tsx): Add try/catch block to deleteGlobalVariable function in API controller 📝 (index.tsx): Add try/catch block to updateGlobalVariable function in API controller 📝 (index.tsx): Remove unused import and add deleteGlobalVariable import in GlobalVariablesPage 📝 (index.tsx): Add setErrorData and getVariableId hooks to GlobalVariablesPage 📝 (index.tsx): Add async/await to removeVariables function in GlobalVariablesPage 📝 (globalVariables.ts): Remove unused import in globalVariables store 📝 (globalVariables.ts): Remove async/await from removeGlobalVariable function in globalVariables store

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 6:13pm