feat: Add full provider variable metadata and multi-variable support by edwinjosechittilappilly · Pull Request #11446 · langflow-ai/langflow (original) (raw)
Enhances provider variable handling by introducing a metadata structure for all required variables per provider, including support for providers with multiple required variables (e.g., IBM WatsonX). Updates backend API to return full variable info, adapts frontend to dynamically render and save multiple variables, and adds comprehensive tests for the new API response. Also updates static mappings and introduces a new React hook for fetching provider variable metadata.
AI review requested due to automatic review settings
Replaces per-variable auto-save with a batch save for all provider variables, improving UX and reducing API calls. Updates input handling to show masked values for secrets, disables save button until all required fields are filled, and provides clearer feedback for configured variables.
[](/apps/coderabbitai)
[](/apps/coderabbitai)
Co-authored-by: Copilot 175728472+Copilot@users.noreply.github.com
…fields with just one input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})