File size: 823 Bytes
afa0cbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "task": {
    "id": "task_123",
    "title": "Refactor cloud task client",
    "archived": false,
    "external_pull_requests": []
  },
  "current_user_turn": {
    "input_items": [
      {
        "type": "message",
        "role": "user",
        "content": [
          { "content_type": "text", "text": "First line" },
          { "content_type": "text", "text": "Second line" }
        ]
      }
    ]
  },
  "current_assistant_turn": {
    "output_items": [
      {
        "type": "message",
        "content": [
          { "content_type": "text", "text": "Assistant response" }
        ]
      }
    ]
  },
  "current_diff_task_turn": {
    "output_items": [
      {
        "type": "output_diff",
        "diff": "diff --git a/src/main.rs b/src/main.rs\n+fn main() { println!(\"hi\"); }\n"
      }
    ]
  }
}