File size: 445 Bytes
d5ef4a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
REACT_SUFFIX = """

---

## Action Format (text fallback mode)

Use EXACTLY this format when calling tools:

```
Thought: <your reasoning>
Action: <tool_name>
Action Input: <valid JSON object>
```

To finish:

```
Thought: I have gathered sufficient evidence.
Action: finish_investigation
Action Input: {"suspicion_list": [...], "narrative": "..."}
```

Do NOT emit any text between `Action:` and `Action Input:`.  Wait for the Observation.
"""