Skip to content

Commit a489f47

Browse files
committed
Update mock_server.py
1 parent ad260ed commit a489f47

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/mock_server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ async def generate(
180180
initial_request_id: str,
181181
force_stream: bool = False,
182182
):
183-
# --- Input Content Validation (Case: testNonInputByCode) ---
184183
has_input = req_data.input is not None
185184
has_content = False
186185
if has_input:
@@ -687,7 +686,6 @@ async def validation_exception_handler(request, exc):
687686
loc = err.get("loc", [])
688687
param_name = loc[-1] if loc else "unknown"
689688

690-
# --- Handle Missing Model (Case: testEmptyMsgByCode) ---
691689
if "model" in loc and err.get("type") == "missing":
692690
return JSONResponse(
693691
status_code=400,

0 commit comments

Comments
 (0)