mirror of
https://github.com/openai/codex.git
synced 2026-11-01 19:33:35 +00:00
Add example fixture
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
[
|
||||
{
|
||||
"id": "",
|
||||
"msg": {
|
||||
"history_entry_count": 0,
|
||||
"history_log_id": 0,
|
||||
"model": "gpt-5",
|
||||
"rollout_path": "<rollout>",
|
||||
"session_id": "<session>",
|
||||
"type": "session_configured"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"model_context_window": 272000,
|
||||
"type": "task_started"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"delta": "I can",
|
||||
"type": "agent_message_delta"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"delta": " hear",
|
||||
"type": "agent_message_delta"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"delta": " you!",
|
||||
"type": "agent_message_delta"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"message": "I can hear you!",
|
||||
"type": "agent_message"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"info": {
|
||||
"last_token_usage": {
|
||||
"cached_input_tokens": 0,
|
||||
"input_tokens": 12,
|
||||
"output_tokens": 6,
|
||||
"reasoning_output_tokens": 0,
|
||||
"total_tokens": 18
|
||||
},
|
||||
"model_context_window": 272000,
|
||||
"total_token_usage": {
|
||||
"cached_input_tokens": 0,
|
||||
"input_tokens": 12,
|
||||
"output_tokens": 6,
|
||||
"reasoning_output_tokens": 0,
|
||||
"total_tokens": 18
|
||||
}
|
||||
},
|
||||
"type": "token_count"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0",
|
||||
"msg": {
|
||||
"last_agent_message": "I can hear you!",
|
||||
"type": "task_complete"
|
||||
}
|
||||
}
|
||||
]
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{"type": "response.created", "response": {"id": "resp_multi"}},
|
||||
{"type": "response.output_text.delta", "delta": "I can"},
|
||||
{"type": "response.output_text.delta", "delta": " hear"},
|
||||
{"type": "response.output_text.delta", "delta": " you!"},
|
||||
{"type": "response.output_item.done", "item": {
|
||||
"type": "message",
|
||||
"role": "assistant",
|
||||
"content": [
|
||||
{"type": "output_text", "text": "I can hear you!"}
|
||||
]
|
||||
}},
|
||||
{"type": "response.completed", "response": {
|
||||
"id": "resp_multi",
|
||||
"usage": {
|
||||
"input_tokens": 12,
|
||||
"input_tokens_details": null,
|
||||
"output_tokens": 6,
|
||||
"output_tokens_details": null,
|
||||
"total_tokens": 18
|
||||
}
|
||||
}}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"type": "user_input",
|
||||
"items": [
|
||||
{"type": "text", "text": "Can you hear me?"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user