Fix: do not delete tool calls or lose them on copy

This commit is contained in:
Grail Finder
2026-02-28 10:23:03 +03:00
parent 2580360f91
commit d79760a289
3 changed files with 44 additions and 69 deletions

View File

@@ -283,6 +283,8 @@ func (m *RoleMsg) Copy() RoleMsg {
KnownTo: m.KnownTo,
Stats: m.Stats,
HasContentParts: m.HasContentParts,
ToolCall: m.ToolCall,
IsShellCommand: m.IsShellCommand,
}
}