{ "test_id": "tests/integration/inference/test_openai_completion.py::test_openai_completion_non_streaming[txt=ollama/llama3.2:3b-instruct-fp16-inference:completion:sanity]", "request": { "method": "POST", "url": "http://0.0.0.0:11434/v1/v1/completions", "headers": {}, "body": { "model": "llama3.2:3b-instruct-fp16", "prompt": "Respond to this question and explain your answer. Complete the sentence using one word: Roses are red, violets are ", "stream": false, "extra_body": null }, "endpoint": "/v1/completions", "model": "llama3.2:3b-instruct-fp16" }, "response": { "body": { "__type__": "openai.types.completion.Completion", "__data__": { "id": "rec-4cd952ff5fe0", "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "text": "Blue.\n\nI chose \"blue\" because it's a traditional completion of the rhyme in the classic English nursery rhyme \"Roses are red, violets are blue.\" However, I should note that the original rhyme is often more like \"Roses are red, violets are fine\" or just \"fading,\" as the line has undergone slight variations over time. But a common and widely-accepted completion of the rhyme indeed uses \"blue\" to complete the metaphor with roses being typically associated with the color red." } ], "created": 0, "model": "llama3.2:3b-instruct-fp16", "object": "text_completion", "system_fingerprint": "fp_ollama", "usage": { "completion_tokens": 106, "prompt_tokens": 50, "total_tokens": 156, "completion_tokens_details": null, "prompt_tokens_details": null } } }, "is_streaming": false } }