File size: 306 Bytes
b7bf9e4
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Chat context for the AI agent."""

from dataclasses import dataclass, field


@dataclass
class ChatContext:
    """Shared context passed to agent tools via RunContextWrapper."""

    user_id: str
    thread_id: str
    tasks_modified: bool = False
    modified_tasks: list = field(default_factory=list)