-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
Fix the failure to resolve variables for OverrideConfig(Json Object) #1843
Conversation
@HenryHengZJ It seems that the failure of CI is not due to this code modification. |
You mean the
|
|
Add |
This is because {
"character": "sarcastic",
"question": "{{question}}"
}
This can be solved by serializing |
actually it was a bug on UI, the dialog was meant to be from the Input Variables from Custom Function: Here's the chatflow: |
sure |
@HenryHengZJ BTW, It would be better to use |
thanks for the suggestion! will definitely take a look! |
When defining chatflowConfig as below,
{{question}}
was not replaced with user input.I found out that
getVariableValue
only handles strings. This PR solves the problem.