17 lines
320 B
Python
17 lines
320 B
Python
from dataclasses import dataclass
|
|
from datetime import datetime
|
|
from typing import Any
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class ReminderParseResult:
|
|
remind_at_utc: datetime
|
|
text: str
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class AgentDecision:
|
|
final: str | None
|
|
tool_calls: list[dict[str, Any]]
|
|
reset_context: bool = False
|