mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-11-05 01:27:28 +00:00
[GH-ISSUE #5] issue: OpenTerminal not working #5
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/open-terminal#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MarceloMassarente on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/open-webui/open-terminal/issues/5
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.5
Ollama Version (if applicable)
No response
Operating System
ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
select gpt-5, native mode, call openterminal and get a response
Actual Behavior
Invalid schema for function 'read_file': None is not valid under any of the given schemas.
Steps to Reproduce
just try Openterminal in native mode
Logs & Screenshots
026-02-23 20:09:11.630 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:63698 - "GET /api/models HTTP/1.1" 200
2026-02-23 20:09:18.790 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:63709 - "GET /_app/version.json HTTP/1.1" 200
2026-02-23 20:09:55.231 | ERROR | open_webui.socket.main:periodic_session_pool_cleanup:187 - Unable to renew session cleanup lock. Exiting.
2026-02-23 20:09:56.207 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52071 - "POST /api/tasks/stop/07134e6b-c04a-4f01-bfa2-bf7ccebb8b46 HTTP/1.1" 200
2026-02-23 20:09:58.683 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52071 - "POST /api/v1/chats/f776bcac-cc26-46a2-baea-2a7ea85263a7 HTTP/1.1" 200
2026-02-23 20:09:58.710 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52071 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-23 20:09:58.764 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52071 - "POST /api/chat/completions HTTP/1.1" 200
2026-02-23 20:09:58.791 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52071 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-23 20:10:19.768 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52073 - "GET /_app/version.json HTTP/1.1" 200
2026-02-23 20:10:46.120 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52075 - "POST /api/tasks/stop/4116130f-cac6-473c-8b04-3eb772996f58 HTTP/1.1" 200
2026-02-23 20:10:56.780 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52078 - "POST /api/v1/chats/f776bcac-cc26-46a2-baea-2a7ea85263a7 HTTP/1.1" 200
2026-02-23 20:10:56.806 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52078 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-23 20:10:56.864 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52078 - "POST /api/chat/completions HTTP/1.1" 200
2026-02-23 20:10:56.894 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52078 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2026-02-23 20:11:20.839 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:52001 - "GET /_app/version.json HTTP/1.1" 200
2026-02-23 20:12:21.774 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 192.168.1.230:65273 - "GET /_app/version.json HTTP/1.1" 200
Additional Information
No response
@MarceloMassarente commented on GitHub (Feb 23, 2026):
Invalid schema for function 'read_file': None is not valid under any of the given schemas.
in Standard mode it is not even recognized
@tjbck commented on GitHub (Feb 24, 2026):
Is this using azure ai?
@tjbck commented on GitHub (Feb 24, 2026):
@silenceroom @MarceloMassarente could anyone confirm the issue has been resolved in the latest dev (open-webui)?
@MarceloMassarente commented on GitHub (Feb 24, 2026):
hi, this happens with regular open ai key
@Seviks commented on GitHub (Feb 24, 2026):
i can confirm this happens on v.0.8.5 with gpt-5.2 (regular openai) with native mode.
same error with dev (open-webui) pulled just now.
@tjbck commented on GitHub (Feb 24, 2026):
@Seviks I'm unable to reproduce the issue with the latest open-webui and open-terminal, could you share your screen recording with us?
@cloudtuotuo commented on GitHub (Feb 25, 2026):
We're using New-API as the backend. I just pulled newest open-terminal docker few minitues ago. Our open-webui is on v0.8.5.
When using gpt models, claude models and deepseek models through New-API, the same issue occured. When using ollama models, no issues.
The logs from New-API:
new-api | [ERR] 2026/02/25 - 09:24:44 | 20260225012444239828895ck0CRJLq | channel error (channel #1, status code: 400): Invalid schema for function 'read_file': None is not valid under any of the given schemas.
new-api | [INFO] 2026/02/25 - 09:24:44 | 20260225012444239828895ck0CRJLq | record error log: userId=1, channelId=1, modelName=gpt-5.2, tokenName=OpenWebUI, content=status_code=400, Invalid schema for function 'read_file': None is not valid under any of the given schemas.
new-api | [ERR] 2026/02/25 - 09:24:44 | 20260225012444239828895ck0CRJLq | relay error: Invalid schema for function 'read_file': None is not valid under any of the given schemas.
new-api | [ERR] 2026/02/25 - 09:31:59 | 20260225013158965884000K5U3yisq | channel error (channel #5, status code: 400): at '/properties/start_line/type': value must be one of 'array', 'boolean', 'integer', 'null', 'number', 'object', 'string'
new-api | [INFO] 2026/02/25 - 09:31:59 | 20260225013158965884000K5U3yisq | record error log: userId=1, channelId=5, modelName=deepseek-v3, tokenName=OpenWebUI, content=status_code=400, at '/properties/start_line/type': value must be one of 'array', 'boolean', 'integer', 'null', 'number', 'object', 'string'
new-api | [ERR] 2026/02/25 - 09:31:59 | 20260225013158965884000K5U3yisq | relay error: at '/properties/start_line/type': value must be one of 'array', 'boolean', 'integer', 'null', 'number', 'object', 'string'
@silenceroom commented on GitHub (Feb 25, 2026):
yes, it's Azure AI on my case. I can confirm the issue remains with the v0.8.5 and the latest open_terminal.
https://github.com/user-attachments/assets/1e33056c-6a25-4867-a21c-35abb4976a43
@Seviks commented on GitHub (Feb 25, 2026):
With the latest changes the dev container (all clean) does not start (Error when running migrations, but i deleted volumes). I'll try again tomorrow.
@silenceroom I think we're meant to test with latest owui and latest open-terminal.
@silenceroom commented on GitHub (Feb 25, 2026):
same problem here, the latest dev image does not even start with the container.
@tjbck commented on GitHub (Feb 25, 2026):
@silenceroom @Seviks @MarceloMassarente we're unable to reproduce with the lastest dev with gpt-5.2 (native function calling enabled)
@silenceroom commented on GitHub (Feb 26, 2026):
I can confirm the problem remains in the latest dev docker image. I'll run the source code later to see if it's fixed.
@Seviks commented on GitHub (Feb 26, 2026):
Maybe I/we do something wrong in the config. I can reproduce the error with this example:
docker exec -it open-webui curl http://open-terminal:8000/docs@silenceroom commented on GitHub (Feb 26, 2026):
@tjbck I've deployed the dev branch with owui and latest open-terminal, with the gpt-5.2@Azure AI, the problem remains.
@cloudtuotuo commented on GitHub (Feb 27, 2026):
I suspect this issue comes from OpenWebUI.
When I use Claude-4.6 via New-API to perform Notes-related actions (Builtin Tools), I’ve noticed a consistent failure pattern: if the assistant outputs no textual content at all and only executes a tool call, then the next tool invocation fails with a 400 error. The log looks like this:
I asked Gemini about this error. It suggested that Claude does not accept empty text content blocks, which matches the error message (“text content blocks must be non-empty”). As a workaround, if I need Claude to use tools, I should prompt the assistant to always output at least some text (even a short confirmation) before each tool call, instead of returning a tool-only response.
@tjbck commented on GitHub (Feb 27, 2026):
@silenceroom @Seviks @MarceloMassarente could anyone confirm again (latest dev) with a dedicated open terminal integration section?
@ExZyle commented on GitHub (Feb 28, 2026):
I was using
ghcr.io/open-webui/open-webui:mainfrom about a day or two ago with the above error, usingghcr.io/open-webui/open-webui:devworks@silenceroom commented on GitHub (Feb 28, 2026):
@tjbck I can confirm with the latest dev branch the problem now disapear. gpt-5/gpt-5.2(via Azure) now gets response.
@Seviks commented on GitHub (Mar 1, 2026):
Its also working for me. Thanks!