dynamo-llm 1.7.0

Dynamo LLM Library
{
  "description": "Bodies that the Rust type and the generated Python model must both accept or both reject. A request is accepted when it parses and passes the frontend's validation. A case marked `frontend_only` is rejected by the frontend alone and accepted by the generated model: an unknown value of a request enum the worker does not read, which it must accept from a newer frontend.",
  "cases": [
    {"name": "minimal", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan"}},
    {"name": "counts-at-lower-bound", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan", "seconds": 1, "nvext": {"fps": 1, "num_frames": 1, "num_inference_steps": 1}}},
    {"name": "guidance-scale-as-json-integer", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan", "nvext": {"guidance_scale": 5}}},
    {"name": "response-format-b64-json", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan", "response_format": "b64_json"}},
    {"name": "stream-true", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan", "stream": true}},
    {"name": "unknown-field-is-kept", "type": "request", "valid": true, "body": {"prompt": "cat", "model": "wan", "motion": "slow"}},
    {"name": "missing-model", "type": "request", "valid": false, "body": {"prompt": "cat"}},
    {"name": "missing-prompt", "type": "request", "valid": false, "body": {"model": "wan"}},
    {"name": "model-as-number", "type": "request", "valid": false, "body": {"prompt": "cat", "model": 1}},
    {"name": "seconds-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "seconds": "4"}},
    {"name": "seconds-as-float", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "seconds": 4.0}},
    {"name": "seconds-as-bool", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "seconds": true}},
    {"name": "seconds-zero", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "seconds": 0}},
    {"name": "fps-zero", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"fps": 0}}},
    {"name": "fps-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"fps": "24"}}},
    {"name": "num-frames-negative", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"num_frames": -1}}},
    {"name": "zero-inference-steps", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"num_inference_steps": 0}}},
    {"name": "seed-as-float", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"seed": 1.5}}},
    {"name": "boundary-ratio-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"boundary_ratio": "0.5"}}},
    {"name": "annotations-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": {"annotations": "request_id"}}},
    {"name": "nvext-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "nvext": "fast"}},
    {"name": "response-format-unknown", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "response_format": "ftp"}},
    {"name": "stream-as-string", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "stream": "true"}},
    {"name": "size-as-number", "type": "request", "valid": false, "body": {"prompt": "cat", "model": "wan", "size": 832}},
    {"name": "minimal-with-defaults", "type": "response", "valid": true, "body": {"id": "v1", "model": "wan", "created": 0}},
    {"name": "with-data", "type": "response", "valid": true, "body": {"id": "v1", "model": "wan", "created": 0, "data": [{"output_format": "mp4", "url": "https://example.com/v.mp4"}]}},
    {"name": "missing-model", "type": "response", "valid": false, "body": {"id": "v1", "created": 0}},
    {"name": "progress-as-float", "type": "response", "valid": false, "body": {"id": "v1", "model": "wan", "created": 0, "progress": 100.5}},
    {"name": "output-format-as-number", "type": "response", "valid": false, "body": {"id": "v1", "model": "wan", "created": 0, "data": [{"output_format": 1}]}},
    {"name": "inference-time-as-string", "type": "response", "valid": false, "body": {"id": "v1", "model": "wan", "created": 0, "inference_time_s": "1.0"}},
    {"name": "data-as-object", "type": "response", "valid": false, "body": {"id": "v1", "model": "wan", "created": 0, "data": {}}}
  ]
}