Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
xtekky committed Oct 19, 2023
1 parent 7c410b7 commit 76083c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions g4f/gui/server/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -20,6 +24,9 @@ def __init__(self, app) -> None:
'methods': ['POST']
},
}

def models(self):
return {}

def _gen_title(self):
return {
Expand Down

0 comments on commit 76083c5

Please sign in to comment.