mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix(tools): not all arguments converted during string formatting
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
This commit is contained in:
parent
9a1d2a1844
commit
809d91a3df
@ -479,7 +479,7 @@ async def get_tool_server_data(token: str, url: str) -> Dict[str, Any]:
|
||||
"specs": convert_openapi_to_tool_payload(res),
|
||||
}
|
||||
|
||||
log.info("Fetched data:", data)
|
||||
log.info(f"Fetched data: {data}")
|
||||
return data
|
||||
|
||||
|
||||
@ -644,5 +644,5 @@ async def execute_tool_server(
|
||||
|
||||
except Exception as err:
|
||||
error = str(err)
|
||||
log.exception("API Request Error:", error)
|
||||
log.exception(f"API Request Error: {error}")
|
||||
return {"error": error}
|
||||
|
Loading…
Reference in New Issue
Block a user