tangning 4 月之前
父节点
当前提交
909dd76300
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/util/ollama.js

+ 1 - 1
src/util/ollama.js

@@ -1,6 +1,6 @@
 import { Ollama } from "ollama/browser";
 // const ollama = new Ollama({ host: 'http://192.168.9.61:11434' })
-const ollama = new Ollama({ host: '//192.168.0.25/answers/' })
+const ollama = new Ollama({ host: 'http://192.168.0.25/answers' })
 export function chatWithHistory(model, userMsg, history, systemMsg) {
   return ollama.chat({
     model,