Skip to content

Outputs & A2UI FEAT 488

Jesus Lara edited this page Nov 5, 2026 · 1 revision

title: "FEAT 488"

FEAT-488

Branch: feat-488-formfield-content-type PR: https://github.com/phenobarbital/ai-parrot/pull/1293 Spec: sdd/specs/formfield-content-type.spec.md

What was implemented

  • packages/parrot-formdesigner/src/parrot_formdesigner/audio/models.py
  • packages/parrot-formdesigner/src/parrot_formdesigner/renderers/audio.py
  • sdd/tasks/index/formfield-content-type.json
  • sdd/tasks/completed/TASK-2681-audio-renderer-accept-content-types.md

Key decisions

  • Fixed AudioFormRenderer.render() to use model_dump(mode='json') so uuid.UUID fields serialize to strings, preventing TypeError in aiohttp JSON coercion path.
  • Excluded audio_prompt bytes field from JSON manifest dump via model_dump(exclude={...}) — satisfies test_audio_prompt_excluded_from_json contract.
  • Fixed TTS synthesis path: render() now calls self._synthesizer.synthesize() directly when an injected synthesizer is present, instead of synthesize_with_fallback() which created its own instance and ignored the injected mock (broke test_render_with_tts_synthesizer).
  • Committed worker-authored but uncommitted test additions: VoiceAnswerEnvelope tests (test_core_models.py), TEXT_AREA content_type snippet test (test_field_helpers.py), accept_content_types renderer tests (test_renderers.py), REST validator tests (test_validators_rest.py).
  • Deleted stale sdd/tasks/active/TASK-2681 file (task already moved to completed/).

Accepted findings

(none)

Accept-with-notes

(none)

How to test

(no acceptance-criteria evidence recorded)


Generated by flow-bot via the dev-loop (feature-mode).

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally