Refine adaptive polish and cross-platform account support
Improve learned-style and clipboard skill presentation while keeping shared account clients buildable in the source-composed macOS target.
This commit is contained in:
@@ -115,7 +115,8 @@ final class AIKeyboardCoordinator {
|
||||
var instruction = AIClipboardSkillCatalog.instruction(
|
||||
for: skill,
|
||||
locale: AIHintLocaleResolver.packLocale(),
|
||||
translationTargetLocaleId: state.translationTargetLocaleId
|
||||
translationTargetLocaleId: state.translationTargetLocaleId,
|
||||
replyStyle: state.clipboardReplyStyle
|
||||
)
|
||||
if skill.kind == .export {
|
||||
instruction += "\nPreserve the source language, addresses, names, and proper nouns."
|
||||
|
||||
@@ -124,6 +124,12 @@ public struct AppGroupPersistor {
|
||||
userCatalog: store.agentUserSkillCatalog,
|
||||
uiLanguage: language
|
||||
)
|
||||
let activeStyle = store.activePolishStyle
|
||||
// Built-in formal/corporate personalities must not make ordinary
|
||||
// clipboard replies sound less like the user.
|
||||
state.clipboardReplyStyle = AIClipboardReplyStyleContext.resolve(
|
||||
activeStyle: activeStyle
|
||||
)
|
||||
}
|
||||
|
||||
/// Cloud without ASR/LLM keys blocks the mic. Local ASR still works when
|
||||
|
||||
Reference in New Issue
Block a user