Ali2206 commited on
Commit
916d312
·
1 Parent(s): 97a08b6

Include all missing routers in server.py

Browse files
Files changed (1) hide show
  1. server.py +36 -0
server.py CHANGED
@@ -117,6 +117,42 @@ try:
117
  except Exception:
118
  pass
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
 
121
  # --- Index routes for top-level and agent landings ---
122
  @app.get("/")
 
117
  except Exception:
118
  pass
119
 
120
+ try:
121
+ from AIDual.app.main import router as dual_router # type: ignore
122
+ app.include_router(dual_router)
123
+ except Exception:
124
+ pass
125
+
126
+ try:
127
+ from AIFit.app.main import router as fit_router # type: ignore
128
+ app.include_router(fit_router)
129
+ except Exception:
130
+ pass
131
+
132
+ try:
133
+ from AIQuiz.app.main import router as quiz_router # type: ignore
134
+ app.include_router(quiz_router)
135
+ except Exception:
136
+ pass
137
+
138
+ try:
139
+ from AIRoute.app.main import router as route_router # type: ignore
140
+ app.include_router(route_router)
141
+ except Exception:
142
+ pass
143
+
144
+ try:
145
+ from AISaas.app.main import router as saas_router # type: ignore
146
+ app.include_router(saas_router)
147
+ except Exception:
148
+ pass
149
+
150
+ try:
151
+ from AIStrategy.app.main import router as strategy_router # type: ignore
152
+ app.include_router(strategy_router)
153
+ except Exception:
154
+ pass
155
+
156
 
157
  # --- Index routes for top-level and agent landings ---
158
  @app.get("/")