fix error for pre-commit

This commit is contained in:
Gaohan123 committed 2025-10-24 16:21:50 +08:00
1 parent a04e945166
commit eafc7c44c3
6 files changed
+80 -8

No files matched your search

+3 -3
View File
@@ -116,9 +116,9 @@ async def get_info():
return {
"service": "vllm-omni",
"version": "0.1.0",
"num_stages": omni_llm.get_num_stages()
if hasattr(omni_llm, "get_num_stages")
else 0,
"num_stages": (
omni_llm.get_num_stages() if hasattr(omni_llm, "get_num_stages") else 0
),
"stage_configs": [
{
"stage_id": config.stage_id,