Resolved outlet issue

This commit is contained in:
0xThresh.eth 2024-06-16 11:18:13 -07:00
parent b983e8f257
commit 6d508be496
3 changed files with 1 additions and 4 deletions

View File

@ -5,5 +5,5 @@
# docker volume rm open-webui # docker volume rm open-webui
# Runs the containers with Ollama image for Open WebUI and the Pipelines endpoint in place # Runs the containers with Ollama image for Open WebUI and the Pipelines endpoint in place
docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always --env-file .env pipelines #ghcr.io/open-webui/pipelines:latest docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always --env-file .env ghcr.io/open-webui/pipelines:latest
docker run -d -p 3000:8080 -v ~/.ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always -e OPENAI_API_BASE_URL=http://host.docker.internal:9099 -e OPENAI_API_KEY=0p3n-w3bu! ghcr.io/open-webui/open-webui:ollama docker run -d -p 3000:8080 -v ~/.ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always -e OPENAI_API_BASE_URL=http://host.docker.internal:9099 -e OPENAI_API_KEY=0p3n-w3bu! ghcr.io/open-webui/open-webui:ollama

View File

@ -109,8 +109,6 @@ class Pipeline:
async def outlet(self, body: dict, user: Optional[dict] = None) -> dict: async def outlet(self, body: dict, user: Optional[dict] = None) -> dict:
print(f"outlet:{__name__}") print(f"outlet:{__name__}")
if body["chat_id"] not in self.chat_generations:
return body
self.LLMObs.annotate( self.LLMObs.annotate(
span = self.llm_span, span = self.llm_span,

View File

@ -29,7 +29,6 @@ chromadb
# Observability # Observability
langfuse langfuse
#git+https://github.com/DataDog/dd-trace-py.git@main
ddtrace ddtrace
# ML libraries # ML libraries