mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
feat: blackbox call
This commit is contained in:
4
main.py
4
main.py
@ -18,3 +18,7 @@ async def blackbox(blackbox_name: Union[str, None] = None, request: Request = No
|
||||
except ValueError:
|
||||
return await JSONResponse(content={"error": "value error"}, status_code=status.HTTP_400_BAD_REQUEST)
|
||||
return await box.fast_api_handler(request)
|
||||
|
||||
@app.post("/workflows")
|
||||
async def workflows(reqest: Request):
|
||||
print("workflows")
|
||||
Reference in New Issue
Block a user