Skip to content

Commit 49ba1be

Browse files
authored
fix(tools): fix space of host (#286)
1 parent 67fcfcf commit 49ba1be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veadk/tools/builtin_tools/run_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run_code(code: str, language: str, tool_context: ToolContext) -> str:
4343
) # temporary service for code run tool
4444
region = getenv("AGENTKIT_TOOL_REGION", "cn-beijing")
4545
host = getenv(
46-
"AGENTKIT_TOOL_HOST", service + "." + region + ".volces.com "
46+
"AGENTKIT_TOOL_HOST", service + "." + region + ".volces.com"
4747
) # temporary host for code run tool
4848
logger.debug(f"tools endpoint: {host}")
4949

0 commit comments

Comments
 (0)