added bundled artifact

This commit is contained in:
Anirban Kar 2024-12-03 12:12:02 +05:30
parent 509390569f
commit bbd71e66d4

View File

@ -50,7 +50,7 @@ export default function GitCloneButton({ importChat }: GitCloneButtonProps) {
const message: Message = { const message: Message = {
role: 'assistant', role: 'assistant',
content: `Cloning the repo ${repoUrl} into ${workdir} content: `Cloning the repo ${repoUrl} into ${workdir}
<boltArtifact id="imported-files" title="Git Cloned Files"> <boltArtifact id="imported-files" title="Git Cloned Files" type="bundled" >
${filePaths ${filePaths
.map((filePath) => { .map((filePath) => {
const { data: content, encoding } = data[filePath]; const { data: content, encoding } = data[filePath];