[changes] dashscope applies patches and modifies prompts
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
Celery Worker 入口点
|
||||
用于启动 Celery Worker: celery -A app.celery_worker worker --loglevel=info
|
||||
"""
|
||||
from celery.signals import worker_process_init
|
||||
# 必须在导入任何使用 DashScope SDK 的模块之前应用补丁
|
||||
import app.plugins.dashscope_patch # noqa: F401
|
||||
|
||||
from app.celery_app import celery_app
|
||||
from app.core.logging_config import LoggingConfig, get_logger
|
||||
|
||||
Reference in New Issue
Block a user