Skip to content

Commit e00e249

Browse files
committed
feat: execute-skills 脚本兼容混合云场景,新增传入变量云厂商和scheme
1 parent 02aff71 commit e00e249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/tools/builtin_tools/execute_skills.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def execute_skills(
9999
tool_user_session_id = agent_name + "_" + user_id + "_" + session_id
100100
logger.debug(f"tool_user_session_id: {tool_user_session_id}")
101101

102-
cloud_provider = getenv("CLOUD_PROVIDER", "")
102+
cloud_provider = getenv("CLOUD_PROVIDER", "", allow_false_values=True)
103103
scheme = getenv("AGENTKIT_TOOL_SCHEME", "https", allow_false_values=True).lower()
104104
if scheme not in {"http", "https"}:
105105
scheme = "https"

0 commit comments

Comments
 (0)