Medical AI Deployment commited on
Commit
1fa7445
·
1 Parent(s): 3f9eb89

Fix SyntaxError and ImportError in model_router.py - async def + ModelRouter alias (908 lines)

Browse files
Files changed (1) hide show
  1. backend/model_router.py +4 -0
backend/model_router.py CHANGED
@@ -902,3 +902,7 @@ Provide comprehensive medical analysis with actionable clinical insights."""
902
  async def execute_task(self, task: Dict[str, Any]) -> Dict[str, Any]:
903
  """Legacy execute method for backward compatibility"""
904
  return await self.execute_research_optimized_task(task)
 
 
 
 
 
902
  async def execute_task(self, task: Dict[str, Any]) -> Dict[str, Any]:
903
  """Legacy execute method for backward compatibility"""
904
  return await self.execute_research_optimized_task(task)
905
+
906
+
907
+ # Backward compatibility alias for main.py import
908
+ ModelRouter = EnhancedModelRouter