Skip to content

Commit ef02db7

Browse files
committed
fix: Make RouteBuilder explicit in SourceGen to avoid conflicts
1 parent c42edc8 commit ef02db7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dotnet/src/Microsoft.Agents.AI.Workflows.Generators/Generation/SourceBuilder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public static string Generate(ExecutorInfo info)
3838
sb.AppendLine("using System.Collections.Generic;");
3939
sb.AppendLine("using Microsoft.Agents.AI.Workflows;");
4040
sb.AppendLine();
41+
sb.AppendLine("using RouteBuilder = Microsoft.Agents.AI.Workflows.RouteBuilder;");
4142

4243
// Namespace
4344
if (!string.IsNullOrWhiteSpace(info.Namespace))

0 commit comments

Comments
 (0)