如何让你的 "Paper Duel | 纸上谈兵" 支持本地 ollama

· · 科技·工程

https://pd.geneluo.fun/

如果你的 ollama 有开机自启,请执行以下步骤:

  1. 在系统托盘(右下角)找到 Ollama 图标(羊驼图标)。

  2. 右键点击 → 选择 Quit。

如果找不到: 在 cmd 中运行 taskkill -f -im ollama.exe。

接下来,在 powershell 中执行 $env:OLLAMA_ORIGINS="*"; ollama serve。

可以了。