mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-03 07:07:29 +08:00
normalize-policy phase-6: remove extra trimming in memory/sessions tool content paths
This commit is contained in:
@@ -96,7 +96,7 @@ func (t *MemoryGetTool) Execute(ctx context.Context, args map[string]interface{}
|
||||
return "", err
|
||||
}
|
||||
|
||||
content := strings.TrimSpace(out.String())
|
||||
content := out.String()
|
||||
if content == "" {
|
||||
return fmt.Sprintf("No content in range for %s (from=%d, lines=%d)", rawPath, from, lines), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user