fix: Swap order of storage set and url rewrite in setOllamaURL function
This commit is contained in:
parent
a8c84f1447
commit
eed1a5a0d1
@ -231,8 +231,8 @@ export const setOllamaURL = async (ollamaURL: string) => {
|
||||
"http://127.0.0.1:"
|
||||
)
|
||||
}
|
||||
await urlRewriteRuntime(cleanUrl(formattedUrl))
|
||||
await storage.set("ollamaURL", cleanUrl(formattedUrl))
|
||||
await urlRewriteRuntime(cleanUrl(formattedUrl))
|
||||
}
|
||||
|
||||
export const systemPromptForNonRag = async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user