{ "test_id": "tests/integration/inference/test_openai_completion.py::test_openai_chat_completion_non_streaming[client_with_models-txt=ollama/llama3.2:3b-instruct-fp16-inference:chat_completion:non_streaming_02]", "request": { "method": "POST", "url": "http://0.0.0.0:11434/v1/v1/chat/completions", "headers": {}, "body": { "model": "llama3.2:3b-instruct-fp16", "messages": [ { "role": "user", "content": "Which planet has rings around it with a name starting with letter S?" } ], "stream": false, "extra_body": {} }, "endpoint": "/v1/chat/completions", "model": "llama3.2:3b-instruct-fp16" }, "response": { "body": { "__type__": "openai.types.chat.chat_completion.ChatCompletion", "__data__": { "id": "rec-eb5e57d02a6f", "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "One of the planets in our solar system known for its ring system is Saturn. Its ring system consists of seven main rings and numerous smaller ones composed primarily of ice particles, rock debris, and dust.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null } } ], "created": 0, "model": "llama3.2:3b-instruct-fp16", "object": "chat.completion", "service_tier": null, "system_fingerprint": "fp_ollama", "usage": { "completion_tokens": 41, "prompt_tokens": 39, "total_tokens": 80, "completion_tokens_details": null, "prompt_tokens_details": null } } }, "is_streaming": false } }