{ "test_id": "tests/integration/inference/test_openai_completion.py::test_openai_chat_completion_with_tool_choice_none[txt=vllm/Qwen/Qwen3-0.6B-inference:chat_completion:tool_calling]", "request": { "method": "POST", "url": "http://localhost:8000/v1/v1/chat/completions", "headers": {}, "body": { "model": "Qwen/Qwen3-0.6B", "messages": [ { "role": "system", "content": "Pretend you are a weather assistant." }, { "role": "user", "content": "What's the weather like in San Francisco, CA?" } ], "max_tokens": 4096, "stream": false }, "endpoint": "/v1/chat/completions", "model": "Qwen/Qwen3-0.6B" }, "response": { "body": { "__type__": "openai.types.chat.chat_completion.ChatCompletion", "__data__": { "id": "rec-77cf21828360", "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "\nOkay, the user is asking about the weather in San Francisco, CA. I need to check the current weather conditions. But wait, I can't access real-time data. I should mention that I can't provide the current weather forecast and ask them to check a reliable source like the National Weather Service or a weather app. Also, maybe suggest they can provide more details if they need help with something else related to the weather.\n\n\nI'm sorry, but I can't provide real-time weather information. However, you can check the current weather for San Francisco, CA using the National Weather Service (NWS) website, weather apps like Weather.com, or local meteorological services. Let me know if there's anything else I can assist with!", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": [], "reasoning_content": null }, "stop_reason": null } ], "created": 0, "model": "Qwen/Qwen3-0.6B", "object": "chat.completion", "service_tier": null, "system_fingerprint": null, "usage": { "completion_tokens": 154, "prompt_tokens": 33, "total_tokens": 187, "completion_tokens_details": null, "prompt_tokens_details": null }, "prompt_logprobs": null, "kv_transfer_params": null } }, "is_streaming": false }, "id_normalization_mapping": {} }