我偶然遇到了一个很棒的小巧的Chrome扩展,名为Lumos,根据它的文档,我需要像这样运行ollama:
ollama
OLLAMA_ORIGINS=chrome-extension://* ollama serve
实际上,我碰巧运行了Ollama macOS应用程序,它会自动更新并在启动时以一个小托盘图标启动。我知道我可以编辑它的launchctl配置文件,但下一次更新时会被覆盖。我们可以在GUI上有一个简单的“设置”面板,以便我们可以添加类似的东西吗? 🙏
2ic8powd1#
@prologic
Though you probably don't want to use * when you're using it in the background. Get the actual extension id.
*
iyzzxitl2#
此外,显然正在开发一个图形用户界面。
2条答案
按热度按时间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.iyzzxitl2#
此外,显然正在开发一个图形用户界面。