mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-22 23:54:26 +08:00
[Frontend] Remove print left in FrontendArgs.add_cli_args (#21004)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
34cda778a0
commit
153c6f1e61
@ -192,7 +192,6 @@ schema. Example: `[{"type": "text", "text": "Hello world!"}]`"""
|
|||||||
# Special case: allowed_origins, allowed_methods, allowed_headers all
|
# Special case: allowed_origins, allowed_methods, allowed_headers all
|
||||||
# need json.loads type
|
# need json.loads type
|
||||||
# Should also remove nargs
|
# Should also remove nargs
|
||||||
print(frontend_kwargs["allowed_origins"])
|
|
||||||
frontend_kwargs["allowed_origins"]["type"] = json.loads
|
frontend_kwargs["allowed_origins"]["type"] = json.loads
|
||||||
frontend_kwargs["allowed_methods"]["type"] = json.loads
|
frontend_kwargs["allowed_methods"]["type"] = json.loads
|
||||||
frontend_kwargs["allowed_headers"]["type"] = json.loads
|
frontend_kwargs["allowed_headers"]["type"] = json.loads
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user