mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.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:
+3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user