.NET Workflows - Support agent level function invocation for declarative workflow (#1442)

* Checkpoint

* Checkpoint

* Checkpoint

* Good

* Namespace

* Namespace

* Dun

* Async Test

* AgentId

* Portable pattern

* Portable2

* Portable3

* Respond to comments

* Namespace

* Function call selection

* ToHashSet

* ToHashSet

* Updated

* Parameter name

* Final

* Tests
This commit is contained in:
Chris
2025-10-14 20:42:15 +00:00
committed by GitHub
parent a4039134de
commit a6b6937b94
25 changed files with 902 additions and 80 deletions
@@ -94,6 +94,9 @@ internal static class ChatMessageExtensions
public static ChatMessage ToChatMessage(this StringDataValue message) => new(ChatRole.User, message.Value);
public static ChatMessage ToChatMessage(this IEnumerable<FunctionResultContent> functionResults) =>
new(ChatRole.Tool, [.. functionResults]);
public static AdditionalPropertiesDictionary? ToMetadata(this RecordDataValue? metadata)
{
if (metadata is null)