Skip to content

Commit

Permalink
fix: composio ux flow (#3529)
Browse files Browse the repository at this point in the history
* feat: revert composio fix

* [autofix.ci] apply automated fixes

* feat: run format

* feat: add suggested change

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and anovazzi1 committed Aug 26, 2024
1 parent 677dfbf commit 9d930b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/backend/base/langflow/components/toolkits/ComposioAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ def update_build_config(self, build_config: dict, field_value: Any, field_name:

if field_name in {"app_names", "auth_status_config"}:
if hasattr(self, "api_key") and self.api_key != "":
build_config = self._update_app_names_with_connected_status(build_config)

build_config["auth_status_config"]["value"] = self._check_for_authorization(
self._get_normalized_app_name()
)
all_action_names = [action_name for action_name in Action.__annotations__]
app_action_names = [
action_name
Expand Down

0 comments on commit 9d930b8

Please sign in to comment.