clean vllm tonight

This commit is contained in:
Jai Suphavadeeprasit 2026-03-23 11:28:40 -07:00
parent 75a032bf3e
commit fae87dcaaa
2 changed files with 1 additions and 6 deletions

View file

@ -99,11 +99,7 @@ def get_batch(url: str = "http://localhost:8000"):
Raises:
RuntimeError: If trainer is not registered or other API error
"""
response = requests.get(
f"{url}/batch",
timeout=10,
)
data = response.json()
data = requests.get(f"{url}/batch", timeout=10).json()
# Check if there was an error (trainer not registered)
if data.get("status") == "error":