返回 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 "js_execution",
17 "pandoc_convert"
18 ]
19 },
20 "workspace_files": {
21 "README.md": "conformance fixture\n",
22 "NOTES.md": "second file\n"
23 },
24 "description": "One streamed text answer in two deltas; no tools. The smallest complete turn.",
25 "user_message": "Say hello.",
26 "provider_script": [
27 {
28 "events": [
29 {
30 "type": "message_start",
31 "message": {
32 "id": "msg_plain",
33 "type": "message",
34 "role": "assistant",
35 "content": [],
36 "model": "deepseek-v4-pro",
37 "stop_reason": null,
38 "stop_sequence": null,
39 "usage": {
40 "input_tokens": 120,
41 "output_tokens": 0
42 }
43 }
44 },
45 {
46 "type": "content_block_start",
47 "index": 0,
48 "content_block": {
49 "type": "text",
50 "text": ""
51 }
52 },
53 {
54 "type": "content_block_delta",
55 "index": 0,
56 "delta": {
57 "type": "text_delta",
58 "text": "Hello"
59 }
60 },
61 {
62 "type": "content_block_delta",
63 "index": 0,
64 "delta": {
65 "type": "text_delta",
66 "text": " there."
67 }
68 },
69 {
70 "type": "content_block_stop",
71 "index": 0
72 },
73 {
74 "type": "message_delta",
75 "delta": {
76 "stop_reason": "end_turn"
77 },
78 "usage": {
79 "input_tokens": 120,
80 "output_tokens": 4
81 }
82 },
83 {
84 "type": "message_stop"
85 }
86 ]
87 }
88 ]
89 }
90
90 lines JSON