Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): make agent ouput clickable (#11433)

Ubbe07368468a4c5
diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/AgentRunsView/components/SelectedRunView/components/RunOutputs.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/AgentRunsView/components/SelectedRunView/components/RunOutputs.tsx
index 38a5da17cf..f7e4298215 100644
--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/AgentRunsView/components/SelectedRunView/components/RunOutputs.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/AgentRunsView/components/SelectedRunView/components/RunOutputs.tsx
@@ -1,15 +1,15 @@
"use client";
-import React, { useMemo } from "react";
-import {
- globalRegistry,
- OutputItem,
- OutputActions,
-} from "@/app/(platform)/library/agents/[id]/components/AgentRunsView/components/OutputRenderers";
import type {
OutputMetadata,
OutputRenderer,
} from "@/app/(platform)/library/agents/[id]/components/AgentRunsView/components/OutputRenderers";
+import {
+ globalRegistry,
+ OutputActions,
+ OutputItem,
+} from "@/app/(platform)/library/agents/[id]/components/AgentRunsView/components/OutputRenderers";
+import React, { useMemo } from "react";
type OutputsRecord = Record<string, Array<unknown>>;
@@ -84,7 +84,7 @@ export function RunOutputs({ outputs }: RunOutputsProps) {
return (
<div className="relative flex flex-col gap-4">
- <div className="absolute -top-3 right-0">
+ <div className="absolute -top-3 right-0 z-10">
<OutputActions
items={items.map((item) => ({
value: item.value,