返回 DeepSeek-Reasonix
duplicate_result.go
根目录 / internal / agent / duplicate_result.go
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
11 lines GO