use sharp and improve prompting
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user