Skip to content

Commit 86fb119

Browse files
committed
fix: add warning when SKILL_SPACE_NAME not set
1 parent 5d45c50 commit 86fb119

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

veadk/tools/builtin_tools/execute_skills.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,12 @@ def execute_skills(
130130
if skills:
131131
cmd.extend(["--skills"] + skills)
132132

133+
skill_space_name = os.getenv("SKILL_SPACE_NAME", "")
134+
if not skill_space_name:
135+
logger.warning("SKILL_SPACE_NAME environment variable is not set")
136+
133137
env_vars = {
134-
"SKILL_SPACE_NAME": os.getenv("SKILL_SPACE_NAME", ""),
138+
"SKILL_SPACE_NAME": skill_space_name,
135139
"TOOL_USER_SESSION_ID": tool_user_session_id,
136140
}
137141

0 commit comments

Comments
 (0)