{ "test_id": "tests/integration/inference/test_openai_completion.py::test_openai_chat_completion_non_streaming[openai_client-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 }, "endpoint": "/v1/chat/completions", "model": "llama3.2:3b-instruct-fp16" }, "response": { "body": { "__type__": "openai.types.chat.chat_completion.ChatCompletion", "__data__": { "id": "rec-b25e641e43bf", "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "Saturn is the planet known for its magnificent ring system, making it the correct answer. The ring system of Saturn is composed of seven main gaps and numerous smaller ringlets, making it one of the most distinct features in our solar system.", "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": 49, "prompt_tokens": 39, "total_tokens": 88, "completion_tokens_details": null, "prompt_tokens_details": null } } }, "is_streaming": false }, "id_normalization_mapping": {} }