REFACTOR(repo): simplify project structure
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build Docker Image / build-and-push (push) Has been cancelled
- Move services/backend to langgraph/ - Move deploy/docker/Dockerfile to Dockerfile - Remove deploy/, services/ folders - Update GitHub Actions workflow paths - Remove kustomization update logic (managed by K3S-HOME/applications)
This commit is contained in:
18
langgraph/agents/state.py
Normal file
18
langgraph/agents/state.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
공유 상태 정의 (AgentState)
|
||||
K8s 인프라 분석 및 계획 수립에 특화
|
||||
"""
|
||||
from typing import TypedDict, Optional
|
||||
|
||||
|
||||
class AgentState(TypedDict):
|
||||
"""에이전트 간 공유되는 상태"""
|
||||
messages: list # 대화 메시지 이력
|
||||
current_agent: str # 현재 활성 에이전트
|
||||
request_type: Optional[str] # 요청 유형: "information_query" or "deployment_decision"
|
||||
task_plan: Optional[dict] # Planning Agent 출력 (폴더 구조, YAML 설계)
|
||||
research_data: Optional[dict] # Research Agent 출력 (K8s 클러스터 상태)
|
||||
decision_report: Optional[dict] # Decision Agent 출력 (추천/비추천 결정)
|
||||
implementation_prompt: Optional[str] # Prompt Generator 출력 (구현 가이드)
|
||||
iteration_count: int # 반복 횟수 (최대 2회)
|
||||
error: Optional[str] # 에러 메시지
|
||||
Reference in New Issue
Block a user