feat(polish): allow mood emoji on custom styles and ship Flow/ASR fixes
Custom polish styles can opt in to emotion-matched emoji (default off), with prompt-level opt-in detection so paste-only styles keep model-added emoji. Also include Volcengine API-Key ASR auth, voice-processing capture, PiP flash fix, and related keyboard Shift/haptics reliability work.
This commit is contained in:
@@ -285,7 +285,15 @@ public actor PolishingService {
|
||||
|
||||
// One prompt, one model request. Deterministic validation may reject a
|
||||
// result locally, but it never starts a second polish request.
|
||||
let firstCandidate = TranscriptPostProcessor.process(original: trimmed, llmOutput: first)
|
||||
let activeStyle = PolishStylePackCatalog.resolve(
|
||||
id: store.activePolishStyleId,
|
||||
userCatalog: store.polishStyleCatalog
|
||||
)
|
||||
let firstCandidate = TranscriptPostProcessor.process(
|
||||
original: trimmed,
|
||||
llmOutput: first,
|
||||
allowsAddedEmoji: activeStyle.effectiveAllowsAddedEmoji
|
||||
)
|
||||
let firstViolations = PolishOutputValidator.validate(
|
||||
input: trimmed,
|
||||
output: firstCandidate,
|
||||
|
||||
Reference in New Issue
Block a user