Files
lobe-chat/src/features/Conversation/InterventionBar/InterventionContent.tsx
T
CanisMinor 4787bed380 💄 style: Update agent onboarding style (#13678)
* 💄 style: Update onboarding

* style: update

* 💄 style: Update i18n

* fix: test
2026-04-10 10:44:09 +08:00

27 lines
799 B
TypeScript

import { memo } from 'react';
import Intervention from '../Messages/AssistantGroup/Tool/Detail/Intervention';
import { type PendingIntervention } from '../store/slices/data/pendingInterventions';
import { styles } from './style';
interface InterventionContentProps {
intervention: PendingIntervention;
}
const InterventionContent = memo<InterventionContentProps>(({ intervention }) => {
return (
<div className={styles.content}>
<Intervention
apiName={intervention.apiName}
assistantGroupId={intervention.assistantGroupId}
id={intervention.toolMessageId}
identifier={intervention.identifier}
requestArgs={intervention.requestArgs}
toolCallId={intervention.toolCallId}
/>
</div>
);
});
export default InterventionContent;