21 lines
455 B
Python
21 lines
455 B
Python
"""LangGraph agent state for HR-ATS workflows.
|
|
|
|
Pure module: no FastAPI imports and no HTTPException.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Literal,TypedDict
|
|
|
|
|
|
class AgentState(TypedDict,total=False):
|
|
subject:str
|
|
resume_text:str
|
|
experience:str
|
|
job_posts:list[dict]
|
|
suggested_job_post_ids:list[str]
|
|
summary:str
|
|
reasoning:str
|
|
error:str
|
|
status:Literal["pending","ready","matched","skipped","failed"]
|