test: handle localhost model metadata probe without fixture error

This commit is contained in:
Teknium
2026-09-07 02:30:36 -07:00
parent 5d4f76b50e
commit be633b23c4
+1 -1
View File
@@ -32,7 +32,7 @@ class Handler(BaseHTTPRequestHandler):
"id": "fixture",
"object": "chat.completion",
"created": 0,
"model": body["model"],
"model": body.get("model", body.get("name", "fixture")),
"choices": [
{
"index": 0,