You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I activated the tools and functions but I'm testing the Run Code tool so that the code can be run automatically. when I follow the given example, I get an error like this "name 'datetime' is not defined".
General information
Open WebUI version: 0.4.8
Tool/function version: 0.8.0
Open WebUI setup:
Kernel information: Linux ZimaCube 6.6.48 Kubernetes function support? #1 SMP PREEMPT_DYNAMIC Mon Dec 2 11:39:30 UTC 2024 x86_64 GNU/Linux
Runtime: Docker
Docker version: 27.0.3
docker run command: docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:ollama
Docker container info: attached (docker info.txt)
Debug logs
To get debug logs, please follow these steps:
Enable debug logging in the tool or function by changing self._debug = False to self._debug = True in the code.
Reproduce the issue in a new chat session.
Download the chat session (triple-dot menu → Download → Export chat (json))
Attach the resulting .json file to this bug report.
Description
I activated the tools and functions but I'm testing the Run Code tool so that the code can be run automatically. when I follow the given example, I get an error like this "name 'datetime' is not defined".
General information
docker run
command: docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:ollamaDebug logs
To get debug logs, please follow these steps:
self._debug = False
toself._debug = True
in the code.Download
→Export chat (json)
).json
file to this bug report.Additional context
docker info.txt
chat-export-1734231140002.json
The text was updated successfully, but these errors were encountered: