mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-13 19:20:04 +00:00
4787bed380
* 💄 style: Update onboarding * style: update * 💄 style: Update i18n * fix: test
27 lines
799 B
TypeScript
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;
|