fix dockerifle

This commit is contained in:
=
2025-05-26 00:18:07 +10:00
parent 01b7f1cd78
commit 4119b2ec41
3 changed files with 2 additions and 55 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class OllamaGenerator:
self.inner_title = inner_title
self.content = content
self.response = None
self.chroma = chromadb.HttpClient(host="172.18.0.2", port=8000)
self.chroma = chromadb.HttpClient(host="172.19.0.2", port=8000)
ollama_url = f"{os.environ["OLLAMA_PROTOCOL"]}://{os.environ["OLLAMA_HOST"]}:{os.environ["OLLAMA_PORT"]}"
self.ollama_client = Client(host=ollama_url)
self.ollama_model = os.environ["EDITOR_MODEL"]