Wire BridgeAnnouncementConfig into Twilio bridge webhook handler #22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
cf-orch#18 defines the live-human identification contract.
contracts/bridge.pynow contains:BridgeAnnouncementConfig— product name, user_name_enabled, tone, silence durationsBridgeSession— model withannounced_at: datetime | None(None = announcement not yet fired)render_announcement(config, session)→ TTS-ready stringBridgeSession.with_announced(transcript)→ returns updated sessionRequired in Osprey bridge webhook handler
BridgeAnnouncementConfig(product_name="Osprey by CircuitForge")from product configrender_announcement()and play via Twilio<Say>session.with_announced(transcript=text)and persist to context checkpointBridgeAnnouncementEventto the run recordOsprey MUST NOT pass audio to the live human before
session.has_announcedis True.References