Skip to content

Agent Zero AI framework

Update rfc.py

frdel256da729589d
diff --git a/python/api/rfc.py b/python/api/rfc.py
index 149910ae7..82fa2f739 100644
--- a/python/api/rfc.py
+++ b/python/api/rfc.py
@@ -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