test_dbos_agent_run.yaml•1.91 kB
interactions:
- request:
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '105'
content-type:
- application/json
host:
- api.openai.com
method: POST
parsed_body:
messages:
- content: What is the capital of Mexico?
role: user
model: gpt-4o
stream: false
uri: https://api.openai.com/v1/chat/completions
response:
headers:
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
connection:
- keep-alive
content-length:
- '838'
content-type:
- application/json
openai-organization:
- pydantic-28gund
openai-processing-ms:
- '580'
openai-project:
- proj_dKobscVY9YJxeEaDJen54e3d
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
- chunked
parsed_body:
choices:
- finish_reason: stop
index: 0
logprobs: null
message:
annotations: []
content: The capital of Mexico is Mexico City.
refusal: null
role: assistant
created: 1754688958
id: chatcmpl-C2P2k1mRRz7KMAtppLZz83Lyy33Jl
model: gpt-4o-2024-08-06
object: chat.completion
service_tier: default
system_fingerprint: fp_ff25b2783a
usage:
completion_tokens: 8
completion_tokens_details:
accepted_prediction_tokens: 0
audio_tokens: 0
reasoning_tokens: 0
rejected_prediction_tokens: 0
prompt_tokens: 14
prompt_tokens_details:
audio_tokens: 0
cached_tokens: 0
total_tokens: 22
status:
code: 200
message: OK
version: 1