remove setting ollama url since it comes from the global variable

This commit is contained in:
Lucas Oliveira 2025-09-30 16:21:43 -03:00
parent f7c2561760
commit 9fd77debe4

View file

@ -836,10 +836,5 @@ class FlowsService:
template["url"]["value"] = endpoint
template["url"]["options"] = [endpoint]
updated = True
elif provider == "ollama" and "base_url" in template:
# Ollama uses "base_url" field
template["base_url"]["value"] = endpoint
# Note: base_url is typically a MessageTextInput, not dropdown, so no options field
updated = True
return updated