mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-07 18:57:21 +00:00
58 lines
1.7 KiB
JSON
Generated
58 lines
1.7 KiB
JSON
Generated
{
|
|
"test_id": "tests/integration/inference/test_openai_completion.py::test_inference_store[client_with_models-txt=bedrock-inference/openai.gpt-oss-20b-1:0-False]",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://bedrock-runtime.us-west-2.amazonaws.com/openai/v1/v1/chat/completions",
|
|
"headers": {},
|
|
"body": {
|
|
"model": "openai.gpt-oss-20b-1:0",
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"content": "Hello, world!"
|
|
}
|
|
],
|
|
"stream": false
|
|
},
|
|
"endpoint": "/v1/chat/completions",
|
|
"model": "openai.gpt-oss-20b-1:0"
|
|
},
|
|
"response": {
|
|
"body": {
|
|
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
|
|
"__data__": {
|
|
"id": "rec-ec41014ac617",
|
|
"choices": [
|
|
{
|
|
"finish_reason": "stop",
|
|
"index": 0,
|
|
"logprobs": null,
|
|
"message": {
|
|
"content": "<reasoning>The user says \"Hello, world!\" Expect a greeting reply. Also a friendly encouragement. Sure.</reasoning>Hello! \ud83d\udc4b How can I help you today?",
|
|
"refusal": null,
|
|
"role": "assistant",
|
|
"annotations": null,
|
|
"audio": null,
|
|
"function_call": null,
|
|
"tool_calls": null
|
|
}
|
|
}
|
|
],
|
|
"created": 0,
|
|
"model": "openai.gpt-oss-20b-1:0",
|
|
"object": "chat.completion",
|
|
"service_tier": "auto",
|
|
"system_fingerprint": null,
|
|
"usage": {
|
|
"completion_tokens": 41,
|
|
"prompt_tokens": 73,
|
|
"total_tokens": 114,
|
|
"completion_tokens_details": null,
|
|
"prompt_tokens_details": null
|
|
}
|
|
}
|
|
},
|
|
"is_streaming": false
|
|
},
|
|
"id_normalization_mapping": {}
|
|
}
|