Check authorization code.
(request: AuthorizationConfig)
| 159 | |
| 160 | @app.post("/auth/validate") |
| 161 | async def validate_auth_code(request: AuthorizationConfig): |
| 162 | """ |
| 163 | Check authorization code. |
| 164 | """ |
| 165 | return {"success": WIKI_AUTH_CODE == request.code} |
| 166 | |
| 167 | @app.get("/models/config", response_model=ModelConfig) |
| 168 | async def get_model_config(): |
nothing calls this directly
no outgoing calls
no test coverage detected