返回 CodeWhale
plain_answer.case.json
根目录 / crates / tui / tests / fixtures / conformance / events / plain_answer.case.json
1 {
2 "model": "deepseek-v4-pro",
3 "mode": "agent",
4 "approval_mode": "suggest",
5 "auto_approve": false,
6 "allow_shell": true,
7 "recorded_platform": {
8 "recorded_on": "macOS",
9 "os": "macos",
10 "shell": "/bin/bash",
11 "sandbox_enforcement": "local_os",
12 "no_new_privs_active": null,
13 "host_tools": [
14 "code_execution",
15 "image_ocr",
16 "pandoc_convert"
17 ]
18 },
19 "workspace_files": {
20 "README.md": "conformance fixture\n",
21 "NOTES.md": "second file\n"
22 },
23 "description": "One streamed text answer in two deltas; no tools. The smallest complete turn.",
24 "user_message": "Say hello.",
25 "provider_script": [
26 {
27 "events": [
28 {
29 "type": "message_start",
30 "message": {
31 "id": "msg_plain",
32 "type": "message",
33 "role": "assistant",
34 "content": [],
35 "model": "deepseek-v4-pro",
36 "stop_reason": null,
37 "stop_sequence": null,
38 "usage": {
39 "input_tokens": 120,
40 "output_tokens": 0
41 }
42 }
43 },
44 {
45 "type": "content_block_start",
46 "index": 0,
47 "content_block": {
48 "type": "text",
49 "text": ""
50 }
51 },
52 {
53 "type": "content_block_delta",
54 "index": 0,
55 "delta": {
56 "type": "text_delta",
57 "text": "Hello"
58 }
59 },
60 {
61 "type": "content_block_delta",
62 "index": 0,
63 "delta": {
64 "type": "text_delta",
65 "text": " there."
66 }
67 },
68 {
69 "type": "content_block_stop",
70 "index": 0
71 },
72 {
73 "type": "message_delta",
74 "delta": {
75 "stop_reason": "end_turn"
76 },
77 "usage": {
78 "input_tokens": 120,
79 "output_tokens": 4
80 }
81 },
82 {
83 "type": "message_stop"
84 }
85 ]
86 }
87 ]
88 }
89
89 lines JSON