fix: track Laya language batches and normalize labels (#22)
Report post-projection Laya language detection as a busy analysis phase and normalize Laya language labels before caching and display. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -14,6 +14,13 @@
|
||||
prefix: 'AI batch'
|
||||
};
|
||||
}
|
||||
if (phase === 'laya_language') {
|
||||
return {
|
||||
processed: status.languageProcessed,
|
||||
total: status.languageTotal,
|
||||
prefix: 'Language batch'
|
||||
};
|
||||
}
|
||||
return { processed: status.processed, total: status.total, prefix: '', suffix: ' channels' };
|
||||
}
|
||||
|
||||
@ -37,6 +44,8 @@
|
||||
const statusLabel = busy
|
||||
? phase === 'laya_identity'
|
||||
? 'Analyzing with local AI…'
|
||||
: phase === 'laya_language'
|
||||
? 'Detecting stream languages…'
|
||||
: phase === 'projecting'
|
||||
? 'Building channel catalog…'
|
||||
: phase === 'writing'
|
||||
|
||||
Reference in New Issue
Block a user