use sharp and improve prompting
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/cron/ci Pipeline was successful

This commit is contained in:
Madison Grubb
2025-09-05 16:48:35 -04:00
parent be7534be8d
commit a3c54b1c82
6 changed files with 559 additions and 13 deletions

View File

@@ -62,8 +62,8 @@ export async function callOllama(prompt, model = "gemma3n:e4b", retries = 5, ste
const cleaned = cleanText(rawText);
console.log(`[${stepName}] Received: ${rawText.length} chars, ~${rawText.split(/\s+/).length} words`);
console.log(`Raw output:\n${rawText}\n`);
console.log(`Cleaned output:\n${cleaned}\n`);
// console.log(`Raw output:\n${rawText}\n`);
// console.log(`Cleaned output:\n${cleaned}\n`);
return cleaned;