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

[BUG] v2.1.4 Cannot override variables #3521

Closed
hans00 opened this issue Nov 15, 2024 · 3 comments · Fixed by #3524
Closed

[BUG] v2.1.4 Cannot override variables #3521

hans00 opened this issue Nov 15, 2024 · 3 comments · Fixed by #3524
Labels
bug Something isn't working

Comments

@hans00
Copy link

hans00 commented Nov 15, 2024

Describe the bug
Cannot override variables, whatever security enabled or not.

To Reproduce
Steps to reproduce the behavior:

  1. Import flow from old version
  2. Enable override for the variable
  3. Make request

Expected behavior

Override success

Screenshots
If applicable, add screenshots to help explain your problem.

image
image
image

Flow
If applicable, add exported flow in order to help replicating the problem.

Setup

  • Installation docker
  • Flowise Version: 2.1.4
  • OS: Linux
  • Browser chrome

Additional context
Add any other context about the problem here.

@HenryHengZJ
Copy link
Contributor

Do you have a simple flow for me to test? are the variables used in custom tool or other places? chatflow or agentflow

@hans00
Copy link
Author

hans00 commented Nov 15, 2024

ExportData.json

docker run -it --rm --name flowise -p 3000:3000 flowiseai/flowise

# Import data
# Go config, enable override value

curl http://localhost:3000/api/v1/prediction/479d9db3-9606-40e6-b78c-bd4405a87931 \
     -X POST \
     -d '{"question": "Hey, how are you?", "overrideConfig": {"vars":{"test":"overrided"}}}' \
     -H "Content-Type: application/json"

image

In console log, it shows the vars still original value.

@HenryHengZJ HenryHengZJ added the bug Something isn't working label Nov 16, 2024
@HenryHengZJ HenryHengZJ linked a pull request Nov 16, 2024 that will close this issue
@HenryHengZJ
Copy link
Contributor

Fixed now in main branch, will update to new Docker version soon!

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

Successfully merging a pull request may close this issue.

2 participants