-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Prompt template not being saved #1561
Comments
Hey @jaschahuisman! Great to see you back here, and with such a detailed report too! Hope everything else is going smoothly for you. Thank you for providing detailed steps to reproduce the issue. I've looked into the codebase and here's what I found: The As for error handling, the langflow codebase implements a specific error handling mechanism designed to catch and display errors in a user-friendly manner, rather than letting them propagate to the browser console. This is evident from the structure and purpose of the However, I couldn't find any specific function or method in the langflow codebase that handles the saving of the To help us investigate this issue further, could you please provide any error messages that might be displayed in the browser console when the Sources
|
Hello, |
I started playing with LangFlow recently. My current installation is 1.0.5 on localhost. I also have the problem of not being able to save the prompt template. I could save the change in very rare occasions, and I haven't found a pattern yet. system: MacOS 14.0; brew; pyenv; python 3.12.0; langflow 1.0.5 While repeating the bug as seen in the screencast, there are no error messages in the terminal or web interface. Screen.Recording.2024-07-02.at.12.39.10.PM.mov |
I deployed langflow to railway, by clicking the button on the github readme page. Still got the same error. |
Same here. After check/save, run the component and it errors out without saving the variables. [07/02/24 07:25:26] ERROR 2024-07-02 07:25:26 - ERROR - base - base.py:627 |
@jxz345 @jaschahuisman @mnanjana2020 |
Describe the bug
When filling in the prompt template and pressing the
Check & Save
and thenSave Changes
button, it is not being saved well. When trying to adjust it later, all the values are gone from the field, even though the variables remain visible in the node.Browser and Version
To Reproduce
Steps to reproduce the behavior:
PromptTemplate
node into viewtemplate
param ofPromptTemplate
with variables enclosed in curly braces.Check & Save
Save Changes
template
param ofPromptTemplate
in the edit menuScreenshots
Screen.Recording.2024-03-25.at.14.30.21.mov
The text was updated successfully, but these errors were encountered: