[changes] dashscope applies patches and modifies prompts

This commit is contained in:
lanceyq
2026-05-07 14:21:29 +08:00
parent 6419dcd932
commit d255f33f1f
12 changed files with 817 additions and 483 deletions

View File

@@ -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