dlouapre HF Staff commited on
Commit
128f495
·
1 Parent(s): ec1a56c

remove debugging

Browse files
Files changed (1) hide show
  1. rmscript_app/main.py +0 -14
rmscript_app/main.py CHANGED
@@ -92,20 +92,6 @@ class RmscriptApp(ReachyMiniApp):
92
 
93
  def _register_routes(self) -> None:
94
  """Register FastAPI routes for script compilation and execution."""
95
- print("=" * 50)
96
- print("REGISTERING ROUTES - DEBUG VERSION")
97
- print("=" * 50)
98
-
99
- @self.settings_app.get("/api/debug")
100
- async def debug_route():
101
- """Debug endpoint to check rmscript installation."""
102
- import rmscript
103
- from rmscript.lexer import TokenType
104
- return {
105
- "rmscript_location": rmscript.__file__,
106
- "has_STRING": "STRING" in dir(TokenType),
107
- "TokenType_members": [t for t in dir(TokenType) if not t.startswith("_")]
108
- }
109
 
110
  @self.settings_app.post("/api/verify", response_model=VerifyResponse)
111
  async def verify_script_route(input: ScriptInput) -> VerifyResponse:
 
92
 
93
  def _register_routes(self) -> None:
94
  """Register FastAPI routes for script compilation and execution."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
 
96
  @self.settings_app.post("/api/verify", response_model=VerifyResponse)
97
  async def verify_script_route(input: ScriptInput) -> VerifyResponse: