mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
13be84e4d4
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
60 lines
1.3 KiB
Python
60 lines
1.3 KiB
Python
from flask import Blueprint
|
|
|
|
from libs.external_api import ExternalApi
|
|
|
|
bp = Blueprint("console", __name__, url_prefix="/console/api")
|
|
api = ExternalApi(bp)
|
|
|
|
# Import other controllers
|
|
from . import admin, apikey, extension, feature, ping, setup, version
|
|
|
|
# Import app controllers
|
|
from .app import (
|
|
advanced_prompt_template,
|
|
agent,
|
|
annotation,
|
|
app,
|
|
audio,
|
|
completion,
|
|
conversation,
|
|
conversation_variables,
|
|
generator,
|
|
message,
|
|
model_config,
|
|
ops_trace,
|
|
site,
|
|
statistic,
|
|
workflow,
|
|
workflow_app_log,
|
|
workflow_run,
|
|
workflow_statistic,
|
|
)
|
|
|
|
# Import auth controllers
|
|
from .auth import activate, data_source_bearer_auth, data_source_oauth, forgot_password, login, oauth
|
|
|
|
# Import billing controllers
|
|
from .billing import billing
|
|
|
|
# Import datasets controllers
|
|
from .datasets import data_source, datasets, datasets_document, datasets_segments, file, hit_testing, website
|
|
|
|
# Import explore controllers
|
|
from .explore import (
|
|
audio,
|
|
completion,
|
|
conversation,
|
|
installed_app,
|
|
message,
|
|
parameter,
|
|
recommended_app,
|
|
saved_message,
|
|
workflow,
|
|
)
|
|
|
|
# Import tag controllers
|
|
from .tag import tags
|
|
|
|
# Import workspace controllers
|
|
from .workspace import account, load_balancing_config, members, model_providers, models, tool_providers, workspace
|