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
When I add an Ollama Embed object to the workspace,
I enter the url for the Ollama server
When I push the "refresh" button next to the model name to refresh, the URL vanishes
I can click the model name now and choose "nomic" but the Ollama server URL is blank
If I enter the the Ollama URL and refresh to get the model (URL vanishes) and the put the URL back in and press play it seems to work. At least for that session, if I export the config and try to import it later, the URL is blank.
I upgraded to "Latest" a couple of days ago and got a message that all the components needed to be updated (they turned yellow), Once I did that, all the glitchiness started appearing
Reproduction
When I add an Ollama Embed object to the workspace,
I enter the url for the Ollama server
When I push the "refresh" button next to the model name to refresh, the URL vanishes
I can click the model name now and choose "nomic" but the Ollama server URL is blank
If I enter the the Ollama URL and refresh to get the model (URL vanishes) and the put the URL back in and press play it seems to work. At least for that session, if I export the config and try to import it later, the URL is blank.
Expected behavior
The Ollama embed component should accept the URL, allow for model list refresh and then retain the Ollama URL
Who can help?
No response
Operating System
Centos 9 Stream, running Langflow in Docker 27.5.1
Langflow Version
Langflow latest
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered:
Hey @criddock! 👋 I'm here to help you out with any bugs or questions you have. I'm a bot designed to assist with problem-solving and answering your queries.
The issue you're experiencing with the Ollama Embed object not retaining the server URL after refreshing or exporting the configuration is due to the way the update_build_config method handles URL validation. If the URL is not deemed valid, it attempts to find a valid URL from a predefined list (URL_LIST). If no valid URL is found, the base_url is set to an empty string or a default valid URL, which results in the original server URL not being retained [1].
To work around this issue, you can manually re-enter the URL after refreshing to ensure it is retained for the current session. However, this won't solve the problem of the URL being lost upon exporting and importing configurations. A potential solution would be to modify the code to ensure the URL is retained even if it is not immediately validated, but this would require changes to the source code.
Bug Description
When I add an Ollama Embed object to the workspace,
If I enter the the Ollama URL and refresh to get the model (URL vanishes) and the put the URL back in and press play it seems to work. At least for that session, if I export the config and try to import it later, the URL is blank.
I upgraded to "Latest" a couple of days ago and got a message that all the components needed to be updated (they turned yellow), Once I did that, all the glitchiness started appearing
Reproduction
When I add an Ollama Embed object to the workspace,
If I enter the the Ollama URL and refresh to get the model (URL vanishes) and the put the URL back in and press play it seems to work. At least for that session, if I export the config and try to import it later, the URL is blank.
Expected behavior
The Ollama embed component should accept the URL, allow for model list refresh and then retain the Ollama URL
Who can help?
No response
Operating System
Centos 9 Stream, running Langflow in Docker 27.5.1
Langflow Version
Langflow latest
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: