mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 13:25:20 +00:00
fix: connection url edit
This commit is contained in:
parent
a35469c669
commit
e4c864de7e
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@
|
||||||
<div class="flex flex-col gap-1.5 mt-1.5">
|
<div class="flex flex-col gap-1.5 mt-1.5">
|
||||||
{#each OPENAI_API_BASE_URLS as url, idx}
|
{#each OPENAI_API_BASE_URLS as url, idx}
|
||||||
<OpenAIConnection
|
<OpenAIConnection
|
||||||
{url}
|
bind:url={OPENAI_API_BASE_URLS[idx]}
|
||||||
bind:key={OPENAI_API_KEYS[idx]}
|
bind:key={OPENAI_API_KEYS[idx]}
|
||||||
bind:config={OPENAI_API_CONFIGS[idx]}
|
bind:config={OPENAI_API_CONFIGS[idx]}
|
||||||
pipeline={pipelineUrls[url] ? true : false}
|
pipeline={pipelineUrls[url] ? true : false}
|
||||||
|
|
@ -326,7 +326,7 @@
|
||||||
<div class="flex-1 flex flex-col gap-1.5 mt-1.5">
|
<div class="flex-1 flex flex-col gap-1.5 mt-1.5">
|
||||||
{#each OLLAMA_BASE_URLS as url, idx}
|
{#each OLLAMA_BASE_URLS as url, idx}
|
||||||
<OllamaConnection
|
<OllamaConnection
|
||||||
{url}
|
bind:url={OLLAMA_BASE_URLS[idx]}
|
||||||
bind:config={OLLAMA_API_CONFIGS[idx]}
|
bind:config={OLLAMA_API_CONFIGS[idx]}
|
||||||
{idx}
|
{idx}
|
||||||
onSubmit={() => {
|
onSubmit={() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue