This commit is contained in:
abc 2023-10-19 14:27:29 +01:00
parent 7c410b7d21
commit 76083c5a17

View File

@ -11,6 +11,10 @@ class Backend_Api:
def __init__(self, app) -> None:
self.app = app
self.routes = {
'/backend-api/v2/models': {
'function': self.models,
'methods' : ['GET']
},
'/backend-api/v2/conversation': {
'function': self._conversation,
'methods': ['POST']
@ -21,6 +25,9 @@ class Backend_Api:
},
}
def models(self):
return {}
def _gen_title(self):
return {
'title': ''