Skip to content

Commit 406924d

Browse files
committed
fix: judge if there is a skills attribute when using SequentialAgent
1 parent 0b67730 commit 406924d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

veadk/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ async def run(
472472
)
473473
logger.info(f"Run config: {run_config}")
474474

475-
if self.agent.skills:
475+
if hasattr(self.agent, "skills") and self.agent.skills:
476476
from veadk.tools.skills_tools.session_path import initialize_session_path
477477

478478
initialize_session_path(session_id)

0 commit comments

Comments
 (0)