设置OLLAMA_ORIGINS

3npbholx  于 2个月前  发布在  其他
关注(0)|答案(2)|浏览(24)

我偶然遇到了一个很棒的小巧的Chrome扩展,名为Lumos,根据它的文档,我需要像这样运行ollama:

OLLAMA_ORIGINS=chrome-extension://* ollama serve

实际上,我碰巧运行了Ollama macOS应用程序,它会自动更新并在启动时以一个小托盘图标启动。我知道我可以编辑它的launchctl配置文件,但下一次更新时会被覆盖。我们可以在GUI上有一个简单的“设置”面板,以便我们可以添加类似的东西吗? 🙏

2ic8powd

2ic8powd1#

@prologic

1797 (comment) <-- edit: you can configure launchctl to use set the environment variable in a way that is resistant to updates

Though you probably don't want to use * when you're using it in the background. Get the actual extension id.

iyzzxitl

iyzzxitl2#

此外,显然正在开发一个图形用户界面。

相关问题