🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import type { BuiltinRenderProps } from '@lobechat/types';
import { memo } from 'react';
import type { UpdatePromptParams, UpdatePromptState } from '../../types';
import PromptDiffView from './components/PromptDiffView';
const UpdatePrompt = memo<BuiltinRenderProps<UpdatePromptParams, UpdatePromptState>>(
({ pluginState }) => {
const { newPrompt, previousPrompt } = pluginState || {};
return <PromptDiffView newPrompt={newPrompt} previousPrompt={previousPrompt} />;
},
);
export default UpdatePrompt;