diff --git a/autogpt_platform/frontend/src/app/agents/[id]/page.tsx b/autogpt_platform/frontend/src/app/agents/[id]/page.tsx index 997e2823e..98e0d3f94 100644 --- a/autogpt_platform/frontend/src/app/agents/[id]/page.tsx +++ b/autogpt_platform/frontend/src/app/agents/[id]/page.tsx @@ -27,8 +27,8 @@ const agentRunStatusMap: Record = { FAILED: "failed", QUEUED: "queued", RUNNING: "running", - // TODO: implement "draft" - // TODO: implement "stopped" + // TODO: implement "draft" - https://github.com/Significant-Gravitas/AutoGPT/issues/9168 + // TODO: implement "stopped" - https://github.com/Significant-Gravitas/AutoGPT/issues/9182 }; export default function AgentRunsPage(): React.ReactElement { @@ -62,7 +62,7 @@ export default function AgentRunsPage(): React.ReactElement { }, [fetchAgents]); const fetchSchedules = useCallback(async () => { - // TODO: filter in backend + // TODO: filter in backend - https://github.com/Significant-Gravitas/AutoGPT/issues/9183 setSchedules( (await api.listSchedules()).filter((s) => s.graph_id == agentID), ); @@ -80,7 +80,7 @@ export default function AgentRunsPage(): React.ReactElement { [schedules, api], ); - /* TODO: use websockets instead of polling */ + /* TODO: use websockets instead of polling - https://github.com/Significant-Gravitas/AutoGPT/issues/8782 */ useEffect(() => { const intervalId = setInterval(() => fetchAgents(), 5000); return () => clearInterval(intervalId); @@ -115,7 +115,7 @@ export default function AgentRunsPage(): React.ReactElement { label: "Duration", value: `${moment.duration(selectedRun.duration, "seconds").humanize()}`, }, - // { label: "Cost", value: selectedRun.cost }, // TODO: implement cost + // { label: "Cost", value: selectedRun.cost }, // TODO: implement cost - https://github.com/Significant-Gravitas/AutoGPT/issues/9181 ] : [{ label: "Scheduled for", value: selectedRun.next_run_time }]), ]; @@ -124,7 +124,7 @@ export default function AgentRunsPage(): React.ReactElement { const agentRunInputs: Record = useMemo(() => { if (!selectedRun) return {}; - // return selectedRun.input; // TODO: implement run input view + // return selectedRun.input; // TODO: implement run input view - https://github.com/Significant-Gravitas/AutoGPT/issues/9168 return { "Mock Input": { type: "string", value: "Mock Value" }, }; @@ -177,7 +177,7 @@ export default function AgentRunsPage(): React.ReactElement { } return ( -
+