sorted-backend / src /api /agent /context.py
HAK-16's picture
Deploy backend
b7bf9e4
Raw History Blame Contribute Delete
306 Bytes
"""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)