mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-12 09:56:11 +00:00
Update rfc.py
This commit is contained in:
parent
f349c1da0f
commit
256da72958
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,11 @@ from flask import Request, Response
|
|||
from python.helpers import runtime
|
||||
|
||||
class RFC(ApiHandler):
|
||||
|
||||
@classmethod
|
||||
def requires_csrf(cls) -> bool:
|
||||
return False
|
||||
|
||||
async def process(self, input: dict, request: Request) -> dict | Response:
|
||||
result = await runtime.handle_rfc(input) # type: ignore
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue