MCPcopy Create free account
hub / github.com/53AI/53AIHub / logSandboxResponseDebug

Function logSandboxResponseDebug

api/service/tools/executor.go:1750–1759  ·  view source on GitHub ↗
(ctx context.Context, mode string, resp SandboxResponse)

Source from the content-addressed store, hash-verified

1748}
1749
1750func logSandboxResponseDebug(ctx context.Context, mode string, resp SandboxResponse) {
1751 logger.Debugf(ctx, "【沙盒】%s响应: exit_code=%d, stdout_chars=%d, stderr_chars=%d, output_files=%d, output_file_names=%v",
1752 mode,
1753 resp.ExitCode,
1754 len(resp.Stdout),
1755 len(resp.Stderr),
1756 len(resp.OutputFiles),
1757 collectOutputFileNames(resp.OutputFiles),
1758 )
1759}
1760
1761func convertToSandboxClientExecuteRequest(req SandboxRequest) sandboxclient.ExecuteCodeRequest {
1762 return sandboxclient.ExecuteCodeRequest{

Callers 2

executeSandboxCodeFunction · 0.85

Calls 2

collectOutputFileNamesFunction · 0.85
DebugfMethod · 0.80

Tested by

no test coverage detected