mirror of
https://github.com/open-webui/mcpo
synced 2025-06-26 18:26:58 +00:00
added usage of the new parameter
This commit is contained in:
parent
6c003f8bef
commit
d74e1ceeef
@ -210,7 +210,7 @@ async def run(
|
||||
|
||||
sub_app.state.api_dependency = api_dependency
|
||||
|
||||
main_app.mount(f"/mcpo/{server_name}", sub_app)
|
||||
main_app.mount(f"{prefix}{server_name}", sub_app)
|
||||
|
||||
else:
|
||||
raise ValueError("You must provide either server_command or config.")
|
||||
|
Loading…
Reference in New Issue
Block a user