mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:59:19 +08:00
19 lines
480 B
Python
19 lines
480 B
Python
"""Agent 运行态占位(LangGraph State 后续落此)。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from dataclasses import dataclass, field
|
|
from typing import Any
|
|
|
|
|
|
@dataclass
|
|
class AgentTurnState:
|
|
"""单轮对话编排状态(v1 尚未被图驱动,仅作扩展点)。"""
|
|
|
|
company_id: int
|
|
user_id: str
|
|
thread_id: str
|
|
memory_count: int = 0
|
|
tool_names: list[str] = field(default_factory=list)
|
|
extras: dict[str, Any] = field(default_factory=dict)
|