mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-22 11:45:46 -04:00
Result processing and error handling issues #29
Reference in New Issue
Block a user
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 @bmen25124 on GitHub (Apr 10, 2025).
I'm not sure how many users are using MCP in their main workflow. But I find it incapable of most things.
logs:
CallToolResult has
isErrorfield. We should check it.We are returning
200with only a response. But we should also returnisError. Because sometimes MCP servers don't throw exceptions, they can setisError.This is more related to open-webui part. If there is an error(validation or whatever), LLM should be able to read the error. So it can fix the error by itself. This is what I found in open-webui chat:
In the background, I got the error(first log).
mcp0process exited. But somehow open-webui thought this was a successful call.Without successful error/result handling, MCP(or tool calling) remains a toy. If you approve of these issues, I could try to make a PR.
@tjbck commented on GitHub (Apr 10, 2025):
PR Welcome!
@bmen25124 commented on GitHub (Apr 10, 2025):
Fixed in #63