From b3a1f4ca7dab847e4d9bf7dcb012b1a853f745c8 Mon Sep 17 00:00:00 2001 From: advent259141 <2968474907@qq.com> Date: Mon, 26 Jan 2026 22:36:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E5=A4=8D=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/builtin_stars/astrbot/process_llm_request.py | 2 +- astrbot/core/core_lifecycle.py | 2 +- astrbot/dashboard/routes/subagent.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/astrbot/builtin_stars/astrbot/process_llm_request.py b/astrbot/builtin_stars/astrbot/process_llm_request.py index 36d7a67ae..3a1216e92 100644 --- a/astrbot/builtin_stars/astrbot/process_llm_request.py +++ b/astrbot/builtin_stars/astrbot/process_llm_request.py @@ -7,11 +7,11 @@ from astrbot.api import logger, sp, star from astrbot.api.event import AstrMessageEvent from astrbot.api.message_components import Image, Reply from astrbot.api.provider import Provider, ProviderRequest +from astrbot.core.agent.handoff import HandoffTool from astrbot.core.agent.message import TextPart from astrbot.core.pipeline.process_stage.utils import ( CHATUI_SPECIAL_DEFAULT_PERSONA_PROMPT, ) -from astrbot.core.agent.handoff import HandoffTool from astrbot.core.provider.func_tool_manager import ToolSet diff --git a/astrbot/core/core_lifecycle.py b/astrbot/core/core_lifecycle.py index 942e9b7d5..ef1771277 100644 --- a/astrbot/core/core_lifecycle.py +++ b/astrbot/core/core_lifecycle.py @@ -31,11 +31,11 @@ from astrbot.core.provider.manager import ProviderManager from astrbot.core.star import PluginManager from astrbot.core.star.context import Context from astrbot.core.star.star_handler import EventType, star_handlers_registry, star_map +from astrbot.core.subagent_orchestrator import SubAgentOrchestrator from astrbot.core.umop_config_router import UmopConfigRouter from astrbot.core.updator import AstrBotUpdator from astrbot.core.utils.llm_metadata import update_llm_metadata from astrbot.core.utils.migra_helper import migra -from astrbot.core.subagent_orchestrator import SubAgentOrchestrator from . import astrbot_config, html_renderer from .event_bus import EventBus diff --git a/astrbot/dashboard/routes/subagent.py b/astrbot/dashboard/routes/subagent.py index 6eb833f9e..f2ea098f5 100644 --- a/astrbot/dashboard/routes/subagent.py +++ b/astrbot/dashboard/routes/subagent.py @@ -1,7 +1,6 @@ import traceback -from quart import request -from quart import jsonify +from quart import jsonify, request from astrbot.core import logger from astrbot.core.core_lifecycle import AstrBotCoreLifecycle