Originally created by @sticky-note on GitHub (Feb 14, 2025).
Installation Method
Docker upgraded from v0.5.10
Environment
Open WebUI Version:v0.5.11
Ollama (if applicable): Not relevant
Operating System: Arch Docker
Browser (if applicable): Not relevant
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
Get the actual __task__ value in pipe function for OpenWebUI function
Actual Behavior:
I'm logging task at the beginning of pipe function
classPipe():asyncdefpipe(self,body:dict,__user__:Optional[dict]=None,# __event_call__,__metadata__:Optional[dict]=None,__task__:Optional[str]=None,__tools__:Optional[dict[str,dict]]=None,__task_body__:Optional[dict]=None,__event_emitter__:Optional[EventEmitter]=None,# __valves__=None,)->AsyncGenerator:logger.debug(f"[pipe] Current Task is : {__task__} with body : {__task_body__}")
and for title generation, we no longer get the correct __task__ value
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Task is : None with body : None
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Tool : __tools__={}
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Body : body={'model': 'my_manifold.ac40969f-973c-481a-8841-b3d4987b7dab', 'messages': [{'role': 'user', 'content': '### Task:\nGenerate a concise, 3-5 word title with an emoji summarizing the chat history.\n### Guidelines:\n- The title should clearly represent the main theme or subject of the conversation.\n- Use emojis that enhance understanding of the topic, but avoid quotation marks or special formatting.\n- Write the title in the chat\'s primary language; default to English if multilingual.\n- Prioritize accuracy over e
(...)
Originally created by @sticky-note on GitHub (Feb 14, 2025).
## Installation Method
Docker upgraded from `v0.5.10`
## Environment
- **Open WebUI Version:** `v0.5.11`
- **Ollama (if applicable):** Not relevant
- **Operating System:** Arch Docker
- **Browser (if applicable):** Not relevant
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Get the actual `__task__` value in `pipe` function for OpenWebUI function
## Actual Behavior:
I'm logging __task__ at the beginning of `pipe` function
```python
class Pipe():
async def pipe(
self,
body: dict,
__user__: Optional[dict] = None,
# __event_call__,
__metadata__: Optional[dict] = None,
__task__: Optional[str] = None,
__tools__: Optional[dict[str, dict]] = None,
__task_body__: Optional[dict] = None,
__event_emitter__: Optional[EventEmitter] = None,
# __valves__=None,
) -> AsyncGenerator:
logger.debug(f"[pipe] Current Task is : {__task__} with body : {__task_body__}")
```
and for title generation, we no longer get the correct `__task__` value
```log
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Task is : None with body : None
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Tool : __tools__={}
2025-02-14 00:15:05,320 - function_r2r_rag_manifold - DEBUG - [pipe] Current Body : body={'model': 'my_manifold.ac40969f-973c-481a-8841-b3d4987b7dab', 'messages': [{'role': 'user', 'content': '### Task:\nGenerate a concise, 3-5 word title with an emoji summarizing the chat history.\n### Guidelines:\n- The title should clearly represent the main theme or subject of the conversation.\n- Use emojis that enhance understanding of the topic, but avoid quotation marks or special formatting.\n- Write the title in the chat\'s primary language; default to English if multilingual.\n- Prioritize accuracy over e
(...)
```
the refac in chat.py works perfectly. tested just that on the previous version container, without the other changes
@Haervwe commented on GitHub (Feb 14, 2025):
the refac in chat.py works perfectly. tested just that on the previous version container, without the other changes
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sticky-note on GitHub (Feb 14, 2025).
Installation Method
Docker upgraded from
v0.5.10Environment
Open WebUI Version:
v0.5.11Ollama (if applicable): Not relevant
Operating System: Arch Docker
Browser (if applicable): Not relevant
Confirmation:
Expected Behavior:
Get the actual
__task__value inpipefunction for OpenWebUI functionActual Behavior:
I'm logging task at the beginning of
pipefunctionand for title generation, we no longer get the correct
__task__value@tjbck commented on GitHub (Feb 14, 2025):
Could you confirm if the issue persists on our dev branch?
@Haervwe commented on GitHub (Feb 14, 2025):
the refac in chat.py works perfectly. tested just that on the previous version container, without the other changes
@tjbck commented on GitHub (Feb 14, 2025):
Thanks for the confirmation, 0.5.12 will be released shortly