Replies: 3 comments
-
|
Probably this is due to DEFAULT_TAGS_GENERATION_PROMPT_TEMPLATE . Can we have some advise on how to avoid such calling multiple times ? Logs are also duplicated multiple times. Making logs size go beyond gbs . |
Beta Was this translation helpful? Give feedback.
-
|
You are aware that multiple model calls are being made to generate tags, titles, follow up prompts, query generation and more, yes? |
Beta Was this translation helpful? Give feedback.
-
|
Your pipe function has self.type = "manifold" and implements a pipes() method that returns a list of sub-pipes. When Open WebUI processes manifold pipes, it creates separate model entries for each sub-pipe returned by your pipes() method functions. However, your pipe() method is still being executed for each request, causing the status updates to repeat. The issue is that your pipe function is being invoked multiple times - once for each sub-pipe or potentially multiple times due to how the request is being processed. 3 Solutions:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Check Existing Issues
Installation Method
Docker
Open WebUI Version
latest
Ollama Version (if applicable)
NA
Operating System
Unix
Browser (if applicable)
NA
Confirmation
README.md.Expected Behavior
{"text": "2025-09-16T04:28:24.944757+0000 | WARNING | No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None\n", "record": {"elapsed": {"repr": "0:01:32.510668", "seconds": 92.510668}, "exception": null, "extra": {}, "file": {"name": "oauth.py", "path": "/app/backend/open_webui/utils/oauth.py"}, "function": "get_oauth_token", "level": {"icon": "⚠️ ", "name": "WARNING", "no": 30}, "line": 178, "message": "No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None", "module": "oauth", "name": "open_webui.utils.oauth", "process": {"id": 1, "name": "MainProcess"}, "thread": {"id": 281472872222752, "name": "MainThread"}, "time": {"repr": "2025-09-16 04:28:24.944757+00:00", "timestamp": 1757996904.944757}}}⚠️ ", "name": "WARNING", "no": 30}, "line": 178, "message": "No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None", "module": "oauth", "name": "open_webui.utils.oauth", "process": {"id": 1, "name": "MainProcess"}, "thread": {"id": 281472872222752, "name": "MainThread"}, "time": {"repr": "2025-09-16 04:28:24.944757+00:00", "timestamp": 1757996904.944757}}}⚠️ ", "name": "WARNING", "no": 30}, "line": 178, "message": "No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None", "module": "oauth", "name": "open_webui.utils.oauth", "process": {"id": 1, "name": "MainProcess"}, "thread": {"id": 281472872222752, "name": "MainThread"}, "time": {"repr": "2025-09-16 04:28:24.944757+00:00", "timestamp": 1757996904.944757}}}
{"text": "2025-09-16T04:28:24.944757+0000 | WARNING | No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None\n", "record": {"elapsed": {"repr": "0:01:32.510668", "seconds": 92.510668}, "exception": null, "extra": {}, "file": {"name": "oauth.py", "path": "/app/backend/open_webui/utils/oauth.py"}, "function": "get_oauth_token", "level": {"icon": "
{"text": "2025-09-16T04:28:24.944757+0000 | WARNING | No OAuth session found for user 280ca759-42f1-4854-b81f-42c371ec2013, session None\n", "record": {"elapsed": {"repr": "0:01:32.510668", "seconds": 92.510668}, "exception": null, "extra": {}, "file": {"name": "oauth.py", "path": "/app/backend/open_webui/utils/oauth.py"}, "function": "get_oauth_token", "level": {"icon": "
Actual Behavior
It shall not give multiple status update.
Call shall be only one time .
Hello world 0 should have printed as this is a single call with start value as 0 .
Steps to Reproduce
docker and create a given pipe . observe logging
from pydantic import BaseModel, Field
from typing import Optional, Callable, Dict, Any, Awaitable
import asyncio
import sys
from loguru import logger
logger.remove(0)
logger.add(sys.stderr, format="{time} | {level} | {message}")
logger.add(
"/tmp/logs/test.log",
format="{time} | {level} | {message}",
level="WARNING",
serialize=True,
)
logger.warning("Happy logging with Loguru!")
class Pipe:
class Valves(BaseModel):
MODEL_ID: str = Field(default="")
Logs & Screenshots
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions