mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
* Builds locally and tests pass * Fix typo * Reverted nuget config change to remove internal feed and map to new public object model package with renames. * Renaming Bot object model in additional sample. --------- Co-authored-by: Peter Ibekwe <peibekwe@microsoft.com>
22 lines
637 B
C#
22 lines
637 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Agents.AI.Workflows.Declarative.Extensions;
|
|
using Microsoft.Agents.ObjectModel;
|
|
|
|
namespace Microsoft.Agents.AI.Workflows.Declarative.CodeGen;
|
|
|
|
internal partial class DefaultTemplate
|
|
{
|
|
public DefaultTemplate(DialogAction model, string rootId, string? action = null)
|
|
{
|
|
this.Initialize(model);
|
|
this.Action = action;
|
|
this.InstanceVariable = this.Id.FormatName();
|
|
this.RootVariable = rootId.FormatName();
|
|
}
|
|
|
|
public string? Action { get; }
|
|
public string InstanceVariable { get; }
|
|
public string RootVariable { get; }
|
|
}
|