We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 360c242 commit 7a0d03cCopy full SHA for 7a0d03c
vec_inf/cli/_cli.py
@@ -31,7 +31,7 @@
31
MetricsResponseFormatter,
32
StatusResponseFormatter,
33
)
34
-from vec_inf.client import LaunchOptions, LaunchOptionsDict, VecInfClient
+from vec_inf.client import LaunchOptions, VecInfClient
35
36
37
CONSOLE = Console()
@@ -142,9 +142,7 @@ def launch(
142
try:
143
# Convert cli_kwargs to LaunchOptions
144
kwargs = {k: v for k, v in cli_kwargs.items() if k != "json_mode"}
145
- # Cast the dictionary to LaunchOptionsDict
146
- options_dict: LaunchOptionsDict = kwargs # type: ignore
147
- launch_options = LaunchOptions(**options_dict)
+ launch_options = LaunchOptions(**kwargs)
148
149
# Start the client and launch model inference server
150
client = VecInfClient()
0 commit comments