1. 在插件中点击Options按钮

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_浏览器

2. 在开发者模式中启动Enable Beta Testing Features

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_插件_02

3 在General中进行设置

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_翻译_03

## 4. 在Expand中设置APIURL

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_插件_04

5. Qwen:0.5B网页翻译效果

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_Ollama_05

6. Qwen:0.5BPDF翻译效果

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_翻译_06

7. 参考文献

240803-沉侵式翻译插件配置Ollama的API实现网页及PDF文档的翻译_浏览器_07

launchctl setenv OLLAMA_HOST "0.0.0.0"
launchctl setenv OLLAMA_ORIGINS "*"
  • 1.
  • 2.