mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
chore: reorg imports (#35308)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
autofix-ci[bot]
parent
e8af6a6b3b
commit
3193e8a712
@@ -5,11 +5,12 @@ from dify_app import DifyApp
|
||||
def init_app(app: DifyApp):
|
||||
if dify_config.SENTRY_DSN:
|
||||
import sentry_sdk
|
||||
from graphon.model_runtime.errors.invoke import InvokeRateLimitError
|
||||
from sentry_sdk.integrations.celery import CeleryIntegration
|
||||
from sentry_sdk.integrations.flask import FlaskIntegration
|
||||
from werkzeug.exceptions import HTTPException
|
||||
|
||||
from graphon.model_runtime.errors.invoke import InvokeRateLimitError
|
||||
|
||||
try:
|
||||
from langfuse._utils import parse_error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user