Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/agent/graph.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
"""Module for defining the agent's workflow graph and human interaction nodes."""

from __future__ import annotations

from dataclasses import dataclass
from typing import Any, Dict

from langchain_core.runnables import RunnableConfig
Expand All @@ -12,7 +15,13 @@
)
from langgraph.types import interrupt

from agent.state import State

@dataclass
class State:
"""Class representing the state of the agent interaction."""

interrupt_response: str = "example"



async def human_node(state: State, config: RunnableConfig) -> Dict[str, Any]:
Expand Down
12 changes: 0 additions & 12 deletions src/agent/state.py

This file was deleted.