Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
import SentPromptPanel from './SentPromptPanel';
/**
* What Generate will send (#11317): the server's preview, built by the same
* code as the render, shown under a form's prompt box. The box above keeps only
* the user's words; a refusal the render would give shows here instead.
*/
export default function ModelInputPreview({ preview, prompt }) {
if (preview?.error) return <p role="alert" className="text-xs text-port-warning">{preview.error}</p>;
const sent = preview?.preview;
if (!sent) return null;
return (
<div className="text-xs">
<SentPromptPanel
prompt={prompt}
sentPrompt={sent.sentPrompt}
sentNegativePrompt={sent.sentNegativePrompt}
additions={sent.promptAdditions || []}
asWrittenText="Sent to the model as written."
/>
</div>
);
}