| 1 | package agent |
| 2 | |
| 3 | func (a *Agent) boundProviderVisibleResult(raw, toolName, callID string) (body, notice, original string) { |
| 4 | summarized := summarizeCIOutput(raw) |
| 5 | body, notice = truncateToolOutputFor(summarized, toolName, callID) |
| 6 | if summarized != raw || notice != "" { |
| 7 | original = raw |
| 8 | } |
| 9 | return body, notice, original |
| 10 | } |
| 11 |