Created
November 9, 2025 13:01
-
-
Save samirsaci/6654df2ad57b8a82ab0aa5a35ecf34b5 to your computer and use it in GitHub Desktop.
AI Agent Budget Planning - Agent State
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import TypedDict | |
| from langgraph.graph import StateGraph, START, END | |
| import logging | |
| from app.utils.functions.budagent_parser import EmailParser | |
| from app.utils.functions.budagent_functions import BudgetPlanInterpreter | |
| from app.utils.config_loader import load_config | |
| logger = logging.getLogger(__name__) | |
| config = load_config() | |
| class AgentState(TypedDict, total=False): | |
| email_text: str | |
| params: dict | |
| budget_results: dict | |
| html_summary: str | |
| error: str | |
| session_id: str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment