Merge branch 'main' into dev/dotnet_workflow/Enable-HandoffHILReturnToPrevious

This commit is contained in:
Jacob Alber
2026-03-25 21:44:47 -04:00
committed by GitHub
Unverified
@@ -106,8 +106,7 @@ internal sealed class StateManager
if (typeof(T) == typeof(object))
{
// Reading as object will break across serialize/deserialize boundaries, e.g. checkpointing, distributed runtime, etc.
// Disabled pending upstream updates for this change; see https://github.com/microsoft/agent-framework/issues/1369
//throw new NotSupportedException("Reading state as 'object' is not supported. Use 'PortableValue' instead for variants.");
throw new NotSupportedException("Reading state as 'object' is not supported. Use 'PortableValue' instead for variants.");
}
Throw.IfNullOrEmpty(key);