Add built files

This commit is contained in:
github-actions[bot]
2025-02-10 22:09:31 +00:00
parent d1c6a98994
commit acd58d30ee

23
dist/index.js vendored
View File

@@ -31877,26 +31877,7 @@ async function getDiff(baseSha, headSha) {
}
});
// Filter for relevant files
const lines = diffContent.split('\n');
let filtered = '';
let keep = false;
for (const line of lines) {
if (line.startsWith('diff --git')) {
keep = false;
// Check if file type should be included
if (line.match(/\.(js|ts|py|cpp|h|java|cs)$/) &&
!line.match(/(package-lock\.json|yarn\.lock|\.md|\.json)/)) {
keep = true;
}
}
if (keep) {
filtered += line + '\n';
}
}
return filtered;
return diffContent;
} catch (error) {
throw new Error(`Failed to generate diff: ${error.message}`);
}
@@ -31942,7 +31923,7 @@ ${diffContent}
'anthropic-version': '2023-06-01'
},
body: JSON.stringify({
model: 'claude-3-sonnet-20240229',
model: 'claude-3-5-sonnet-20241022',
max_tokens: 4096,
temperature: 0.7,
messages: [{