fix(web): show full voice platform rules in settings preview (#1345)

Settings truncated read-only fixtures to 800 chars so scrolling never
revealed the rest. Default preview is now the full document; explicit
caps remain for tests.

Closes #1341

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
HeavyGee
2026-08-03 18:01:17 +08:00
committed by GitHub
co-authored by Cursor
parent cd570adf66
commit 82639c66f8
3 changed files with 17 additions and 5 deletions
@@ -307,7 +307,7 @@ export function VoiceDiagnosticsControls(props: {
const backend = props.voiceBackend ?? 'elevenlabs'
const wireHint = getVoiceWireBudgetHint(backend)
const fixturesPreview = useMemo(() => getVoicePlatformFixturesPreview(800), [])
const fixturesPreview = useMemo(() => getVoicePlatformFixturesPreview(), [])
const composed = useMemo(
() => resolveComposedVoiceSystemPrompt(prefs, { backend }),
[prefs, backend]