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 ad260ed commit a489f47Copy full SHA for a489f47
tests/mock_server.py
@@ -180,7 +180,6 @@ async def generate(
180
initial_request_id: str,
181
force_stream: bool = False,
182
):
183
- # --- Input Content Validation (Case: testNonInputByCode) ---
184
has_input = req_data.input is not None
185
has_content = False
186
if has_input:
@@ -687,7 +686,6 @@ async def validation_exception_handler(request, exc):
687
686
loc = err.get("loc", [])
688
param_name = loc[-1] if loc else "unknown"
689
690
- # --- Handle Missing Model (Case: testEmptyMsgByCode) ---
691
if "model" in loc and err.get("type") == "missing":
692
return JSONResponse(
693
status_code=400,
0 commit comments