Skip to content

Commit 5cb84df

Browse files
committed
ruff fix
1 parent 8dffc47 commit 5cb84df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vec_inf/client/_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,18 @@ def is_server_running(
134134

135135
for line in log_content:
136136
line_lower = line.lower()
137-
137+
138138
# Check for ready signature first - if found, server is running
139139
if MODEL_READY_SIGNATURE in line:
140140
ready_signature_found = True
141141
# Continue checking to see if there are errors after startup
142-
142+
143143
# Check for fatal errors (only if we haven't seen ready signature yet)
144144
if not ready_signature_found:
145145
# Skip lines that match ignore patterns
146146
if any(ignore_pattern in line_lower for ignore_pattern in ignore_patterns):
147147
continue
148-
148+
149149
# Check for fatal error patterns
150150
for pattern in fatal_error_patterns:
151151
if pattern in line_lower:
@@ -163,7 +163,7 @@ def is_server_running(
163163
# If ready signature was found and no fatal errors, server is running
164164
if ready_signature_found:
165165
return "RUNNING"
166-
166+
167167
# Otherwise, still launching
168168
return ModelStatus.LAUNCHING
169169

0 commit comments

Comments
 (0)