mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-21 15:31:46 +02:00
fix: report explicitly disabled summaries as skipped
This commit is contained in:
@@ -112,7 +112,10 @@ function getContextRemainingPct(transcriptPath) {
|
||||
* Returns the summary string, or null on failure or when recursion guard is active.
|
||||
*/
|
||||
function generateSessionSummary(transcriptPath, { onSkip = () => {} } = {}) {
|
||||
if (process.env.ECC_SKIP_LLM_SUMMARY) return null;
|
||||
if (process.env.ECC_SKIP_LLM_SUMMARY) {
|
||||
onSkip('ECC_SKIP_LLM_SUMMARY');
|
||||
return null;
|
||||
}
|
||||
|
||||
const conversation = extractConversationText(transcriptPath);
|
||||
if (!conversation) return null;
|
||||
|
||||
Reference in New Issue
Block a user