mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-20 02:55:08 +08:00
fix: add type ignore for merge
This commit is contained in:
@@ -337,7 +337,7 @@ async def _ensure_persona_and_skills(
|
||||
if not req.func_tool:
|
||||
req.func_tool = persona_toolset # type: ignore[assignment]
|
||||
else:
|
||||
req.func_tool.merge(persona_toolset)
|
||||
req.func_tool.merge(persona_toolset) # type: ignore[arg-type]
|
||||
|
||||
# sub agents integration
|
||||
orch_cfg = plugin_context.get_config().get("subagent_orchestrator", {})
|
||||
|
||||
Reference in New Issue
Block a user