mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
fix: an array query parameter reaches an OpenAPI tool server as repeated values (#32677)
This commit is contained in:
parent
a720d090d8
commit
fd1e59b25f
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue