diff --git a/backend/infra/impl/coderunner/direct/runner.go b/backend/infra/impl/coderunner/direct/runner.go index 4b4e72586..5cf1592e4 100644 --- a/backend/infra/impl/coderunner/direct/runner.go +++ b/backend/infra/impl/coderunner/direct/runner.go @@ -87,9 +87,6 @@ func (r *runner) pythonCmdRun(_ context.Context, code string, params map[string] if err != nil { return nil, fmt.Errorf("failed to run python script err: %s, std err: %s", err.Error(), stderr.String()) } - if stderr.String() != "" { - return nil, fmt.Errorf("failed to run python script err: %s", stderr.String()) - } ret := make(map[string]any) err = sonic.Unmarshal(stdout.Bytes(), &ret)