fix: classify non-navigate browser actions as generic to avoid perpetual Loading in fetch groups

This commit is contained in:
kumarabhirup 2026-02-16 23:10:42 -08:00
parent cd98f0acba
commit 93d734de49
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167

View File

@ -255,7 +255,7 @@ function classifyTool(
: "";
if (action === "open" || action === "navigate") {return "fetch";}
if (action === "screenshot") {return "image";}
return "fetch"; // default: most browser actions involve a page
return "generic"; // act/snapshot/status etc. have no URL
}
if (
@ -882,7 +882,7 @@ function FetchGroup({ items }: { items: ToolPart[] }) {
className="flex-1 min-w-0 truncate"
style={{ color: "var(--color-text)" }}
>
{domain?.replace(/^www\./, "") ?? "Loading..."}
{domain?.replace(/^www\./, "") ?? url ?? "Fetching..."}
</span>
{tool.status === "running" ? (
<span