690606:1408 ADR-035-135 #04
This commit is contained in:
@@ -440,6 +440,10 @@ export class AiBatchProcessor extends WorkerHost {
|
|||||||
JSON.stringify(masterDataContext, null, 2)
|
JSON.stringify(masterDataContext, null, 2)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.logger.debug(
|
||||||
|
`Prompt stats: OCR=${ocrTextSafe.length} chars, MasterData=${JSON.stringify(masterDataContext, null, 2).length} chars, Total=${resolvedPrompt.length} chars`
|
||||||
|
);
|
||||||
|
|
||||||
const response = await this.ollamaService.generate(resolvedPrompt, {
|
const response = await this.ollamaService.generate(resolvedPrompt, {
|
||||||
timeoutMs: 120000,
|
timeoutMs: 120000,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user