{
  "test_id": "tests/integration/inference/test_vision_inference.py::test_image_chat_completion_base64[vis=ollama/llama3.2-vision:11b]",
  "request": {
    "method": "POST",
    "url": "http://0.0.0.0:11434/v1/v1/chat/completions",
    "headers": {},
    "body": {
      "model": "llama3.2-vision:11b",
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "image_url",
              "image_url": {
                "url": "data:image/png;base64,[encoded data, 566768 characters]"
              }
            },
            {
              "type": "text",
              "text": "Describe what is in this image."
            }
          ]
        }
      ],
      "stream": false
    },
    "endpoint": "/v1/chat/completions",
    "model": "llama3.2-vision:11b"
  },
  "response": {
    "body": {
      "__type__": "openai.types.chat.chat_completion.ChatCompletion",
      "__data__": {
        "id": "rec-91e1f4c91ab3",
        "choices": [
          {
            "finish_reason": "stop",
            "index": 0,
            "logprobs": null,
            "message": {
              "content": "The image depicts a small puppy of an undefined dog breed, with a short, light tan coat, and a wide, open mouth that allows its tongue to be seen protruding. The puppy appears to be in a seated position, with its front paws tucked in front and its rear paws pushed back. The puppy's head is tilted slightly to the left, with its mouth open as if it is laughing or barking.\n\nThere is no background in the image aside from some grass, which suggests that the puppy is sitting in a field or grassy area. The overall mood and atmosphere of the image is one of playfulness and happiness, as the puppy's open mouth and tilted head convey a sense of joy and excitement. The image may be used to capture the playfulness of a pet or to celebrate a special moment or event.",
              "refusal": null,
              "role": "assistant",
              "annotations": null,
              "audio": null,
              "function_call": null,
              "tool_calls": null
            }
          }
        ],
        "created": 0,
        "model": "llama3.2-vision:11b",
        "object": "chat.completion",
        "service_tier": null,
        "system_fingerprint": "fp_ollama",
        "usage": {
          "completion_tokens": 169,
          "prompt_tokens": 18,
          "total_tokens": 187,
          "completion_tokens_details": null,
          "prompt_tokens_details": null
        }
      }
    },
    "is_streaming": false
  }
}
