SIGN IN SIGN UP

feat(agentflow): Add refresh button for Available Actions dropdown (#6134)

* feat(agentflow): Add refresh button for Available Actions dropdown

- Introduced a refresh button in AsyncInput and AsyncMultiOptionsInput components to allow users to re-fetch options dynamically.
- Updated InputParam interface to include a new `refresh` property.
- Enhanced tests to verify the visibility and functionality of the refresh button based on the `refresh` property.
- Adjusted loadMethodRegistry to ensure proper handling of credential and inputs for the `listActions` method.

This update improves user experience by providing a way to refresh options without needing to reload the entire component.

* wrap tests to a top layer describe

* Update packages/agentflow/src/features/node-editor/AsyncInput.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
J
Jocelyn Lin committed
2aeb9fff6526135e7c468e6d6ab30f322889738f
Parent: f64047b
Committed by GitHub <noreply@github.com> on 4/6/2026, 3:45:08 PM