|
|
|
@ -2,13 +2,13 @@ import logging
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
import json
|
|
|
|
import json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from flask import request
|
|
|
|
|
|
|
|
|
|
|
|
from configs import dify_config
|
|
|
|
from configs import dify_config
|
|
|
|
from contexts.wrapper import RecyclableContextVar
|
|
|
|
from contexts.wrapper import RecyclableContextVar
|
|
|
|
from dify_app import DifyApp
|
|
|
|
from dify_app import DifyApp
|
|
|
|
from extensions.ext_logging import get_request_id
|
|
|
|
from extensions.ext_logging import get_request_id
|
|
|
|
|
|
|
|
|
|
|
|
from flask import request
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ----------------------------
|
|
|
|
# ----------------------------
|
|
|
|
# Application Factory Function
|
|
|
|
# Application Factory Function
|
|
|
|
|