{
  "scope": "Public retained example and task-specific verification checklist; no inference or correction executed.",
  "repairId": "fix-qwen3-reasoning-output-cap",
  "repairURL": "https://kingy.ai/ai-fix-finder/fix-qwen3-reasoning-output-cap/",
  "example": {
    "request": {
      "model": "kingy-repair-fixture",
      "messages": [
        {
          "role": "user",
          "content": "What is 19 + 23? Give only the final integer as your answer."
        }
      ],
      "temperature": 0,
      "seed": 42,
      "stream": false,
      "cache_prompt": false,
      "max_tokens": 8
    },
    "response": {
      "choices": [
        {
          "finish_reason": "length",
          "index": 0,
          "message": {
            "role": "assistant",
            "content": "",
            "reasoning_content": "Okay, let's see."
          }
        }
      ],
      "created": 1792050440,
      "model": "kingy-repair-fixture",
      "system_fingerprint": "b11429-d81235049",
      "object": "chat.completion",
      "usage": {
        "completion_tokens": 8,
        "prompt_tokens": 27,
        "total_tokens": 35,
        "prompt_tokens_details": {
          "cached_tokens": 0
        }
      },
      "id": "chatcmpl-JHs5h0Aj1ZzadAXZnr6yw4c5Feiju3eI",
      "timings": {
        "cache_n": 0,
        "prompt_n": 27,
        "prompt_ms": 956.943,
        "prompt_per_token_ms": 35.44233333333333,
        "prompt_per_second": 28.21484665230844,
        "predicted_n": 8,
        "predicted_ms": 392.452,
        "predicted_per_token_ms": 56.064571428571426,
        "predicted_per_second": 17.83657619275733
      }
    },
    "endpoint": "/v1/chat/completions",
    "context": 2048,
    "note": "Retained repair 003 example, originally qualified 2026-10-15. This preview sends no request and does not retest the model.",
    "repairId": "fix-qwen3-reasoning-output-cap",
    "runtime": "llamacpp",
    "checks": [
      "Inspect both visible content and reasoning_content, total completion usage and finish_reason. HTTP 200 alone does not mean the task completed.",
      "Keep thinking enabled. The test holds temperature 0, seed 42, deepseek reasoning format and a 2,048-token context unchanged.",
      "Raise only max_tokens to 1024 for this task. The 27-token rendered input plus the 1,024-token reserve fit the tested context.",
      "Require exactly 42 as the visible answer, nonempty reasoning and finish_reason stop. Retain any cap exhaustion as a failure.",
      "Download the package for every failed and passing attempt, including the failed 512-token correction and the offline evidence audit."
    ],
    "correction": "For the retained task, increase max_tokens from 8 to 1024 while preserving thinking, prompt and other settings. Check that the visible answer completes and the stop reason is stop.",
    "evidenceDate": "2026-10-15"
  }
}
