mirror of
https://github.com/cexll/myclaude.git
synced 2026-03-03 15:33:14 +08:00
fix(codeagent-wrapper): remove 150-char truncation limit for KeyOutput in summary mode
maxLen=0 in extractKeyOutputFromLines now means unlimited, so the orchestrator receives the agent's full concluding summary instead of a 150-character stub. Negative maxLen still returns empty. Structured summary format and log-path-only behaviour are preserved. Generated with SWE-Agent.ai Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
@@ -545,7 +545,7 @@ func runParallelMode(cmd *cobra.Command, args []string, opts *cliOptions, v *vip
|
||||
results[i].CoverageNum = extractCoverageNum(results[i].Coverage)
|
||||
results[i].FilesChanged = extractFilesChangedFromLines(lines)
|
||||
results[i].TestsPassed, results[i].TestsFailed = extractTestResultsFromLines(lines)
|
||||
results[i].KeyOutput = extractKeyOutputFromLines(lines, 150)
|
||||
results[i].KeyOutput = extractKeyOutputFromLines(lines, 0)
|
||||
}
|
||||
|
||||
if err := writeStructuredOutput(outputPath, results); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user