Instructions: c.instructions,
Tools: c.tools,
Input: []any{userMessage(parts...)},
+ Node: &nodeKey{task.Level, task.Index},
})
if err != nil {
break
return fmt.Sprintf(`Too long: your last line for this <input> was %d bytes,
over the %d-byte limit. Write the whole line again, cutting just
enough of the least valuable items to fit before this cut:
-%s| ← LIMIT`, len(line), nodeBytes, cutLine(line))
+%s| <- LIMIT`, len(line), nodeBytes, cutLine(line))
}
// cutLine returns the first nodeBytes bytes of line, without a part of a