mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +00:00
removed console logs
This commit is contained in:
parent
ea5c6244a6
commit
dfbbea110e
@ -74,7 +74,6 @@ function createFilesContext(files: FileMap) {
|
|||||||
const relPath = x.replace('/home/project/', '');
|
const relPath = x.replace('/home/project/', '');
|
||||||
return !ig.ignores(relPath);
|
return !ig.ignores(relPath);
|
||||||
});
|
});
|
||||||
console.log(filePaths);
|
|
||||||
|
|
||||||
const fileContexts = filePaths
|
const fileContexts = filePaths
|
||||||
.filter((x) => files[x] && files[x].type == 'file')
|
.filter((x) => files[x] && files[x].type == 'file')
|
||||||
@ -175,8 +174,6 @@ export async function streamText(
|
|||||||
systemPrompt = `${systemPrompt}\n\n ${codeContext}`;
|
systemPrompt = `${systemPrompt}\n\n ${codeContext}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log({ codeContext, processedMessages });
|
|
||||||
|
|
||||||
return _streamText({
|
return _streamText({
|
||||||
model: getModel(currentProvider, currentModel, env, apiKeys) as any,
|
model: getModel(currentProvider, currentModel, env, apiKeys) as any,
|
||||||
system: systemPrompt,
|
system: systemPrompt,
|
||||||
|
Loading…
Reference in New Issue
Block a user