"""Base class for all reasoning strategies.""" from typing import Dict, Any class ReasoningStrategy: """Base class for reasoning strategies.""" async def reason(self, query: str, context: Dict[str, Any]) -> Dict[str, Any]: """Apply reasoning strategy to query with context. Args: query: The query to reason about context: Additional context for reasoning Returns: Dictionary containing reasoning results """ raise NotImplementedError