Fix: do not delete tool calls or lose them on copy
This commit is contained in:
@@ -283,6 +283,8 @@ func (m *RoleMsg) Copy() RoleMsg {
|
||||
KnownTo: m.KnownTo,
|
||||
Stats: m.Stats,
|
||||
HasContentParts: m.HasContentParts,
|
||||
ToolCall: m.ToolCall,
|
||||
IsShellCommand: m.IsShellCommand,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user