Files
deer-flow/backend/src/agents/thread_state.py

12 lines
210 B
Python
Raw Normal View History

2026-01-14 12:32:34 +08:00
from typing import TypedDict
from langchain.agents import AgentState
class SandboxState(TypedDict):
sandbox_id: str | None = None
class ThreadState(AgentState):
sandbox: SandboxState | None = None