diff --git a/OpenAI-DotNet/Chat/Message.cs b/OpenAI-DotNet/Chat/Message.cs
index 7af32e12..448c79fa 100644
--- a/OpenAI-DotNet/Chat/Message.cs
+++ b/OpenAI-DotNet/Chat/Message.cs
@@ -157,7 +157,7 @@ internal void CopyFrom(Delta other)
{
if (otherToolCall.Index + 1 > toolCalls.Count)
{
- toolCalls.Insert(otherToolCall.Index.Value, otherToolCall);
+ toolCalls.Insert(otherToolCall.Index.Value, new Tool(otherToolCall));
}
toolCalls[otherToolCall.Index.Value].CopyFrom(otherToolCall);
diff --git a/OpenAI-DotNet/OpenAI-DotNet.csproj b/OpenAI-DotNet/OpenAI-DotNet.csproj
index 2f17219a..3487e7f9 100644
--- a/OpenAI-DotNet/OpenAI-DotNet.csproj
+++ b/OpenAI-DotNet/OpenAI-DotNet.csproj
@@ -18,8 +18,10 @@ More context [on Roger Pincombe's blog](https://rogerpincombe.com/openai-dotnet-