owenkaplinsky's picture
update from github stable code (#3)
3370983 verified
from langgraph.graph import END, START, MessagesState
from typing import Optional, Any
class CodeActState(MessagesState):
"""State for CodeAct agent."""
script: Optional[str]
"""The Python code script to be executed."""
context: dict[str, Any]
"""Dictionary containing the execution context with available tools and variables."""