You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried with a custom tool to retrieve a variable value and nothing returns:
When trying to set a new value from the API (overrideConfig), same, nothing changes:
I also discovered that only after calling the API passing a value does it print the old statically set value, but not the value that was passed by the API.
Describe the bug
The overrideConfig settings are not being passed through to sub chatflows.
To Reproduce
Create a simple custom JavaScript chatflow that logs the $vars.
![image](https://private-user-images.githubusercontent.com/122388749/351422318-ad4fcefd-5263-4323-9a4b-af14664c9eab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4NTMxODYsIm5iZiI6MTczOTg1Mjg4NiwicGF0aCI6Ii8xMjIzODg3NDkvMzUxNDIyMzE4LWFkNGZjZWZkLTUyNjMtNDMyMy05YTRiLWFmMTQ2NjRjOWVhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQwNDI4MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ZjNmMjY3MDg2OGFjMjkyYzA1M2RjYjQyYmFlOTA3OWVlN2M2YzRkZGQzMjM5MWRhNjI1NDA2OTY4MTNkMzk2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.G-7OiUbzmlB_pd6EoLSv4JbnBsMOqFmEv6e1D0SOx5A)
Use the API to call the chatflow ID with the overrideConfig parameter in the payload:
Create a Tool Agent that includes the custom JavaScript chatflow.
![image](https://private-user-images.githubusercontent.com/122388749/351423971-f08d56b0-d2cb-4e5f-b6f3-141833d794c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4NTMxODYsIm5iZiI6MTczOTg1Mjg4NiwicGF0aCI6Ii8xMjIzODg3NDkvMzUxNDIzOTcxLWYwOGQ1NmIwLWQyY2ItNGU1Zi1iNmYzLTE0MTgzM2Q3OTRjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQwNDI4MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNGQxNzJjMzM0ZjhlN2VjOGVmOWZkZmUwYjMzYzJlY2E4Y2UxY2ZmY2M4OWYyYTRmMDVlZTMxYmViZjE0Y2Y2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.9RatIUXHONlt9RdEgdRmbOdG-gCMPgFPKxiDNyRQ-RE)
Use the API to call the Tool Agent chatflow ID with the overrideConfig parameter in the payload.
Expected behavior
The overrideConfig parameter should be passed through to the sub-chatflow correctly.
Setup
pnpm start
]Additional context
N/A
The text was updated successfully, but these errors were encountered: