-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composio component error when flow is reloaded #5828
Comments
The issue you're experiencing with the Composio component requiring reconfiguration each time you reload the flow is likely due to the loss of the API key configuration. The error message "Tools are required to run the agent" indicates that the Composio component needs a valid API key to build the toolset. When you reload the flow, the component may lose this configuration, which is necessary for initializing the To resolve this, ensure that the API key is correctly configured and saved in the component settings. You can also add the API key as a global variable to prevent losing the configuration upon reloading. This can be done by pasting your Composio API key in the Composio API Key field or adding it as a global variable. This approach ensures that the API key is retained across sessions, reducing the need for reconfiguration [2]. Additionally, make sure that the authentication status and other necessary fields are correctly updated and saved. This will help maintain the configuration across sessions. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu I have tried all this already. My composio key is set in docker-compose file and set automatically in the flow. |
If your Composio key is set in the docker-compose file and is automatically configured in the flow, but you're still encountering issues with the Composio component requiring reconfiguration, it might be related to how the configuration data is being loaded and applied. Here are a few things to consider:
If these steps do not resolve the issue, it might be necessary to investigate further into the codebase or configuration files to identify any potential bugs or misconfigurations. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu |
To investigate the issue further, you can examine the flow configuration in the JSON file you provided. Here are some steps you can take:
By examining these aspects, you can identify potential issues in the flow configuration or the persistence mechanism that might be causing the Composio component to lose its settings upon reload. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu that won't help, I would require further investigation please. Please send this to a relevant person for further investigation |
This is a tough nut to crack, could really use your help on this, @ogabrielluiz. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Bug Description
Hello,
I have a multi-agent flow with several integrated tools. As the final step, I send an email using Composio’s Gmail integration, which works correctly when I follow the steps outlined in the documentation. However, when I close the flow and revisit it later to run it again, I encounter a component build error like this.
"Error Building Component
Error building Component EmailSendingAgent: Tools are required to run the agent."
Each time, I need to refresh Composio and reselect the necessary fields (app name, authentication status, and action to use- this last one is always reset btw) even though these were previously configured, before I can successfully run the flow.
Reproduction
Drag and drop a text input or Prompt with email body, email adress etc.
Drag and drop Composio Tool, configure it with key and set relevant fields
Drag and drop ToolCalling Agent and connect first two accordingly
Run the flow
Exit the flow
Come back to the flow and run again
Expected behavior
Everytime flow is revisited Composio component should not need to be refreshed.
Who can help?
No response
Operating System
Macos Sequoia 15.2
Langflow Version
1.1.1
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: