Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
import type {
ObserverThought,
WorkflowRunBlock,
} from "../../types/workflowRunTypes";
import type { WorkflowRunOverviewActiveElement } from "../WorkflowRunOverview";
import { BlockThoughtList } from "./shared";
type Props = {
block: WorkflowRunBlock;
activeItem: WorkflowRunOverviewActiveElement;
thoughts?: Array<ObserverThought>;
onThoughtSelect?: (thought: ObserverThought) => void;
};
function BlockDetailTask({
activeItem,
thoughts = [],
onThoughtSelect,
}: Props) {
return (
<div className="space-y-4 px-3 py-3 empty:hidden">
<BlockThoughtList
thoughts={thoughts}
activeItem={activeItem}
onSelect={onThoughtSelect}
/>
</div>
);
}
export { BlockDetailTask };