"errors"
"fmt"
"io"
+ "log"
"maps"
"os"
"path/filepath"
slots: make(chan struct{}, builds),
}
- memory, err := openMemory(ctx, root, time.Now, summarizer)
+ // The report of the probe counts the failed calls, so the lines of the
+ // failed builds are not needed.
+ memory, err := openMemory(ctx, root, time.Now, summarizer, log.New(io.Discard, "", 0))
if err != nil {
return err
}
}
// probePrompt returns the system prompt of a probe run: the prompt of the agent
-// probeName, without instructions.
+// probeName, without instructions and with a fixed instructions file path.
func probePrompt() (string, error) {
- return prompt(probeName, ""), nil
+ return prompt(probeName, "/PROBE/instructions.md", ""), nil
}
// probeModelLines returns the sizes of the nodes that the model wrote, in tree