rajkumarrawal commited on
Commit
3b2fd14
·
1 Parent(s): c8afbb1

refactor: fix indentation in autonomous_engine.py

Browse files
Files changed (1) hide show
  1. autonomous_engine.py +6 -6
autonomous_engine.py CHANGED
@@ -292,12 +292,12 @@ class CachedReasoningEngine:
292
  self.logger = logging.getLogger(__name__)
293
 
294
  def _analyze_input_hash(self, user_input_hash: str) -> Dict[str, Any]:
295
- """Cached analysis to avoid recomputing identical requests."""
296
- return {
297
- "cached": True,
298
- "analysis_id": user_input_hash,
299
- "timestamp": datetime.utcnow()
300
- }
301
 
302
  def analyze_situation(self, user_input: str, context: Dict[str, Any]) -> Dict[str, Any]:
303
  """Analyze situation with caching and optimization."""
 
292
  self.logger = logging.getLogger(__name__)
293
 
294
  def _analyze_input_hash(self, user_input_hash: str) -> Dict[str, Any]:
295
+ """Cached analysis to avoid recomputing identical requests."""
296
+ return {
297
+ "cached": True,
298
+ "analysis_id": user_input_hash,
299
+ "timestamp": datetime.utcnow()
300
+ }
301
 
302
  def analyze_situation(self, user_input: str, context: Dict[str, Any]) -> Dict[str, Any]:
303
  """Analyze situation with caching and optimization."""