removed console logs

This commit is contained in:
Anirban Kar 2024-12-10 14:27:12 +05:30
parent ea5c6244a6
commit dfbbea110e

View File

@ -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,