fix: improve composio gmail component stability (#7673)
* tool change check * optimised logic * Update composio_base.py * update to the init logic * Update gmail_composio.py * update default tool logic * Update src/backend/base/langflow/base/composio/composio_base.py Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> * Update test_gmail.py --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
ed04e4abc3
commit
b48e57a223
3 changed files with 13 additions and 14 deletions
|
|
@ -99,6 +99,7 @@ class TestGmailComponent(ComponentTestBaseWithoutClient):
|
|||
# For this specific test, we need to customize the action_data to handle results field
|
||||
component._actions_data = {
|
||||
"GMAIL_FETCH_EMAILS": {
|
||||
"display_name": "Fetch Emails",
|
||||
"action_fields": ["max_results", "query"],
|
||||
"result_field": "messages",
|
||||
"get_result_field": True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue