Skip to content

Commit

Permalink
Update ollama_url and url in SettingsModelRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
n4ze3m committed Jan 26, 2024
1 parent 074e322 commit 9a4c6eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/ui/src/routes/settings/model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ export default function SettingsModelRoot() {
}}
initialValues={{
api_type: "openai",
ollama_url: "http://localhost:11434",
ollama_url: "http://host.docker.internal:11434",
}}
>
{apiType === "openai" && (
Expand Down Expand Up @@ -712,6 +712,9 @@ export default function SettingsModelRoot() {
}}
form={embeddingForm}
layout="vertical"
initialValues={{
url: "http://host.docker.internal:11434",
}}
>
<Form.Item
name="url"
Expand Down

0 comments on commit 9a4c6eb

Please sign in to comment.