feat: Add basic styling

This commit is contained in:
bracesproul
2025-03-03 17:53:00 -08:00
parent 5857b634f9
commit 6b382879c5
8 changed files with 3035 additions and 40 deletions

View File

@@ -47,12 +47,12 @@ export function AssistantMessage({
message: Message;
isLoading: boolean;
}) {
const contentString = getContentString(message.content);
const thread = useStreamContext();
const meta = thread.getMessagesMetadata(message);
const parentCheckpoint = meta?.firstSeenState?.parent_checkpoint;
const contentString = getContentString(message.content);
const handleRegenerate = () => {
thread.submit(undefined, { checkpoint: parentCheckpoint });
};