Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotnet/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<PackageVersion Include="NRedisStack" Version="1.0.0" />
<PackageVersion Include="Milvus.Client" Version="2.3.0-preview.1" />
<PackageVersion Include="Testcontainers" Version="4.6.0" />
<PackageVersion Include="Testcontainers.Milvus" Version="4.6.0" />
<PackageVersion Include="Testcontainers.Milvus" Version="4.8.1" />
<PackageVersion Include="Testcontainers.MongoDB" Version="4.6.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.6.0" />
<PackageVersion Include="Testcontainers.Qdrant" Version="4.6.0" />
Expand Down
8 changes: 7 additions & 1 deletion dotnet/src/Agents/Orchestration/Handoff/HandoffActor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ protected override AgentInvokeOptions CreateInvokeOptions(Func<ChatMessageConten
new()
{
Kernel = kernel,
KernelArguments = new(new PromptExecutionSettings { FunctionChoiceBehavior = FunctionChoiceBehavior.Auto() }),
KernelArguments = new(new PromptExecutionSettings
{
FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(options: new()
{
RetainArgumentTypes = true,
})
}),
OnIntermediateMessage = messageHandler,
};

Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/VectorData/SqliteVec/SqliteMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public TRecord MapFromStorageToDataModel(DbDataReader reader, bool includeVector
}

var floats = new float[length / 4];
var bytes = MemoryMarshal.Cast<float, byte>(floats);
var bytes = MemoryMarshal.Cast<float, byte>(floats.AsSpan());
stream.ReadExactly(bytes);
#else
var floats = MemoryMarshal.Cast<byte, float>((byte[])reader[ordinal]).ToArray();
Expand Down
Loading