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

Function collectOutputFileNames

api/service/tools/executor.go:1722–1733  ·  view source on GitHub ↗
(files []OutputFile)

Source from the content-addressed store, hash-verified

1720}
1721
1722func collectOutputFileNames(files []OutputFile) []string {
1723 if len(files) == 0 {
1724 return nil
1725 }
1726 names := make([]string, 0, len(files))
1727 for _, f := range files {
1728 if f.FileName != "" {
1729 names = append(names, f.FileName)
1730 }
1731 }
1732 return names
1733}
1734
1735func logSandboxRequestDebug(ctx context.Context, mode string, url string, reqPayload SandboxRequest, jsonData []byte) {
1736 logger.Debugf(ctx, "【沙盒】%s请求: url=%s, session_id=%s, cwd=%s, language=%s, timeout=%d, code_chars=%d, injected_files=%d, payload_chars=%d, payload_preview=%s",

Callers 3

logSandboxResponseDebugFunction · 0.85
executeSandboxCodeStreamFunction · 0.85
parseSSEStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected