Skip to content

Commit 684805c

Browse files
author
Jicheng Lu
committed
minor change
1 parent 4b53875 commit 684805c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Infrastructure/BotSharp.Core/Templating/TemplateRender.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private static async ValueTask<Completion> RenderIdentifierTag(string identifier
8888
var found = agent?.Templates?.FirstOrDefault(x => x.Name.IsEqualTo(identifier));
8989
var key = $"{agent?.Id} | {identifier}";
9090

91-
if (found == null || context.AmbientValues.TryGetValue(key, out var visited) && (bool)visited)
91+
if (found == null || (context.AmbientValues.TryGetValue(key, out var visited) && (bool)visited))
9292
{
9393
writer.Write(string.Empty);
9494
}

0 commit comments

Comments
 (0)