Skip to content

Commit a479959

Browse files
Copilotkzu
andcommitted
Fix build error: use Markup type for hyperlinks after Style.link removed in Spectre.Console 0.55.0
Agent-Logs-Url: https://github.com/devlooped/xAI/sessions/a0add37d-443f-49d9-88cd-ee3465ea8d39 Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
1 parent 915c8f8 commit a479959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Grok/Interactive.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async Task InputListener()
161161
{
162162
var link = url.GetString() ?? "";
163163
grid.AddRow(new Markup(":globe_with_meridians:"), new Text(tool.Function.Name),
164-
new Text(link, new Style(Color.Blue, link: link)));
164+
new Spectre.Console.Markup($"[blue][link={link}]{Spectre.Console.Markup.Escape(link)}[/][/]"));
165165
}
166166
}
167167
else

0 commit comments

Comments
 (0)