Skip to content

Conversation

@damaoooo
Copy link
Contributor

@damaoooo damaoooo commented Jan 25, 2025

Fix 2 bugs:

  1. The OLLAMA_HOST parameter passed by GUI is not set to ollama.Client. As a result, the code will request localhost even if the OLLAMA_HOST is specified by GUI or ENV.
  2. Dockerfile will give out: docker启动报错libgthread-2.0.so.0: cannot open shared object file: No such file or directory(v1.9.0) #521 Error.

I fixed those with minor revisions.

修俩小bug:

  1. OLLAMA_HOST这个变量在GUI里以及环境变量里面指定了都没用,因为ollama.Client里面没有传进去
  2. Dockerfile构建的docker存在依赖错误,dockerhub里面的docker也有这个问题,已经更新dockerfile

@Byaidu Byaidu merged commit 45181bb into PDFMathTranslate:main Jan 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants