"""Reasoning Agent: ???? ????? ????? ?????.""" import logging from typing import List, Dict, Any from api.deps import get_logger logger = get_logger("kapo.agent.reasoning") class ReasoningAgent: def run(self, user_input: str, plan: List[Dict[str, Any]]) -> Dict[str, Any]: try: logger.info("Reasoning", extra={"component": "reasoning"}) return { "summary": "?? ????? ????? ??? ????? ????? ??????.", "steps_count": len(plan), "input": user_input, } except Exception as exc: logger.exception("Reasoning failed") return {"error": str(exc)}