mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-14 10:44:46 +08:00
feat: integrated with sandbox
This commit is contained in:
11
backend/src/agents/thread_state.py
Normal file
11
backend/src/agents/thread_state.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from typing import TypedDict
|
||||
|
||||
from langchain.agents import AgentState
|
||||
|
||||
|
||||
class SandboxState(TypedDict):
|
||||
sandbox_id: str | None = None
|
||||
|
||||
|
||||
class ThreadState(AgentState):
|
||||
sandbox: SandboxState | None = None
|
||||
Reference in New Issue
Block a user