feat: add api-based extension & external data tool & moderation backend (#1403)

Co-authored-by: takatost <takatost@gmail.com>
This commit is contained in:
Garfield Dai 2023-11-06 19:36:16 +08:00 committed by GitHub
commit db43ed6f41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 1624 additions and 273 deletions

View file

@ -6,7 +6,7 @@ bp = Blueprint('console', __name__, url_prefix='/console/api')
api = ExternalApi(bp)
# Import other controllers
from . import setup, version, apikey, admin
from . import extension, setup, version, apikey, admin
# Import app controllers
from .app import advanced_prompt_template, app, site, completion, model_config, statistic, conversation, message, generator, audio