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