remove setting ollama url since it comes from the global variable
This commit is contained in:
parent
f7c2561760
commit
9fd77debe4
1 changed files with 0 additions and 5 deletions
|
|
@ -836,10 +836,5 @@ class FlowsService:
|
||||||
template["url"]["value"] = endpoint
|
template["url"]["value"] = endpoint
|
||||||
template["url"]["options"] = [endpoint]
|
template["url"]["options"] = [endpoint]
|
||||||
updated = True
|
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
|
return updated
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue