diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 212d283129..18eb0781f3 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -1867,7 +1867,7 @@ async def execute_tool_server( final_url = final_url.replace(f'{{{key}}}', quote(str(value), safe='')) if query_params: - final_url = f'{final_url}?{urlencode(query_params)}' + final_url = f'{final_url}?{urlencode(query_params, doseq=True)}' request_body_content = operation.get('requestBody', {}).get('content') if request_body_content and params: