mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
fix: resolve conflicts
This commit is contained in:
parent
9e64c2cccf
commit
33e0860468
@ -83,6 +83,7 @@ export const AssistantMessage = memo(
|
||||
|
||||
return (
|
||||
<div className="overflow-hidden w-full">
|
||||
<>
|
||||
<div className=" flex gap-2 items-center text-sm text-bolt-elements-textSecondary mb-2">
|
||||
{(codeContext || chatSummary) && (
|
||||
<Popover side="right" align="start" trigger={<div className="i-ph:info" />}>
|
||||
@ -153,6 +154,7 @@ export const AssistantMessage = memo(
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
<Markdown append={append} chatMode={chatMode} setChatMode={setChatMode} model={model} provider={provider} html>
|
||||
{content}
|
||||
</Markdown>
|
||||
|
@ -370,8 +370,8 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
||||
append={append}
|
||||
chatMode={chatMode}
|
||||
setChatMode={setChatMode}
|
||||
model={model}
|
||||
provider={provider}
|
||||
model={model}
|
||||
/>
|
||||
) : null;
|
||||
}}
|
||||
|
@ -151,7 +151,7 @@ export const Markdown = memo(
|
||||
type: 'text',
|
||||
text: `[Model: ${model}]\n\n[Provider: ${provider?.name}]\n\n${message}`,
|
||||
},
|
||||
] as any, // Type assertion to bypass compiler check
|
||||
] as any,
|
||||
role: 'user',
|
||||
});
|
||||
console.log('Message appended:', message);
|
||||
@ -164,7 +164,7 @@ export const Markdown = memo(
|
||||
type: 'text',
|
||||
text: `[Model: ${model}]\n\n[Provider: ${provider?.name}]\n\n${message}`,
|
||||
},
|
||||
] as any, // Type assertion to bypass compiler check
|
||||
] as any,
|
||||
role: 'user',
|
||||
});
|
||||
} else if (type === 'link' && typeof href === 'string') {
|
||||
|
Loading…
Reference in New Issue
Block a user