Skip to content
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

The overrideConfig settings are not being passed through to sub chatflows. #2861

Closed
cmak34 opened this issue Jul 23, 2024 · 2 comments
Closed
Labels
bug Something isn't working enhancement New feature or request

Comments

@cmak34
Copy link

cmak34 commented Jul 23, 2024

Describe the bug
The overrideConfig settings are not being passed through to sub chatflows.

To Reproduce

  1. Create a simple custom JavaScript chatflow that logs the $vars.
    image

  2. Use the API to call the chatflow ID with the overrideConfig parameter in the payload:

{
  "vars": {"hello": "world"}
}
  • The $vars are logged correctly.
  1. Create a Tool Agent that includes the custom JavaScript chatflow.
    image

  2. Use the API to call the Tool Agent chatflow ID with the overrideConfig parameter in the payload.

  • The $vars are not logged correctly.

Expected behavior
The overrideConfig parameter should be passed through to the sub-chatflow correctly.

Setup

  • Installation [pnpm start]
  • Flowise Version [2.0.1]
  • OS: [macOS]
  • Browser [chrome]

Additional context
N/A

@HenryHengZJ HenryHengZJ added bug Something isn't working enhancement New feature or request labels Jul 25, 2024
@schieck0
Copy link

schieck0 commented Aug 20, 2024

I tried with a custom tool to retrieve a variable value and nothing returns:
image
image
image
image

When trying to set a new value from the API (overrideConfig), same, nothing changes:
image

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.

@HenryHengZJ
Copy link
Contributor

fixed now via: #3168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants