mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user