Skip to content

Commit 5ba393a

Browse files
committed
fix: include prompt entity type in isAiInspector to avoid nested scroll containers
1 parent 224af6f commit 5ba393a

File tree

1 file changed

+2
-1
lines changed
  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam

1 file changed

+2
-1
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ function SpanBody({
258258
span.entity?.type === "ai-generation" ||
259259
span.entity?.type === "ai-summary" ||
260260
span.entity?.type === "ai-tool-call" ||
261-
span.entity?.type === "ai-embed";
261+
span.entity?.type === "ai-embed" ||
262+
span.entity?.type === "prompt";
262263

263264
return (
264265
<div className={cn(

0 commit comments

Comments
 (0)