Skip to content

Commit 7dd78a5

Browse files
committed
fix context bug for the first conversation.
1 parent b62f2ec commit 7dd78a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BotSharp.Core/BotSharp.Core.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Support dialogue status tracking.</PackageReleaseNotes>
8181
<PackageReference Include="Microsoft.AspNetCore.Cryptography.KeyDerivation" Version="2.2.0" />
8282
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
8383
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
84-
<PackageReference Include="NumSharp" Version="0.6.1" />
84+
<PackageReference Include="NumSharp" Version="0.6.2" />
8585
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
8686
</ItemGroup>
8787

BotSharp.Core/ContextStorage/ContextStorageInFile.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public async Task<T[]> Fetch(string sessionId)
3838
}
3939
else
4040
{
41-
return default(T[]);
41+
return new T[0];
4242
}
4343
}
4444

0 commit comments

Comments
 (0)