langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
29.12k stars 3.71k forks source link

Global variables not working properly #3876

Open brdebr opened 3 hours ago

brdebr commented 3 hours ago

Bug Description

Hello, I've been testing this project and I'm facing an issue with the global variables not working properly. For the tests I've done, they save and can be retrieved. But they dont work on many components I've tried.

For example, Ollama model when loading the model list

Reproduction

To reproduce, just need to set this workflow and press reload on the model list of ollama If you provide the raw value it works and shows the list, but if you set it as a global variable you see this error when trying to load the list

I'm using langlow with the docker-compose option

image

Expected behavior

The global variable should work exactly like when setting the raw value

Who can help?

No response

Operating System

WSL2 - Ubuntu

Langflow Version

1.0.18

Python Version

None

Screenshot

Here you can see an screenshot of the error logs on the langflow container image

Flow File

No response

dosubot[bot] commented 3 hours ago

Hey @brdebr! I'm here to help you with any bugs, questions, or contributions you have in mind. Let's work together to resolve the issue you're facing.

Hey @brdebr! I see you're having trouble with global variables in your project. Unfortunately, I can't help with this specific issue. I'm a bot designed to help solve bugs, answer technical questions, and gather engineering knowledge.

If you think I should have answered this request, feel free to reach out to the Dosu Team.

To continue talking to Dosu, mention @dosu.