File size: 932 Bytes
0be6708
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
from __future__ import annotations

from typing import Any


SCHEMA: dict[str, Any] = {
    "type": "function",
    "function": {
        "name": "think",
        "description": (
            "Use this tool as a private scratchpad to reason step by step before "
            "taking other actions. Record hypotheses, summarize evidence, plan "
            "next steps, or note uncertainties. Do not use it for final "
            "user-facing output."
        ),
        "parameters": {
            "type": "object",
            "properties": {
                "thought": {
                    "type": "string",
                    "description": (
                        "Internal reasoning notes, intermediate analysis, "
                        "assumptions, and next-step planning."
                    ),
                },
            },
            "required": ["thought"],
        },
    },
}