mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
f7b0fdde2a
commit
06e5c00f24
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class MCPClient:
|
|||
if not result:
|
||||
raise Exception("No result returned from MCP tool call.")
|
||||
|
||||
result_dict = result.model_dump()
|
||||
result_dict = result.model_dump(mode="json")
|
||||
result_content = result_dict.get("content", {})
|
||||
|
||||
if result.isError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue