feat(voice): specialize prompt for Isfahan Industrial Parks, emit source excerpts, and bound generation
- Specialize voice assistant identity and agent system prompt for «شرکت شهرکهای صنعتی اصفهان» (English instructions with Persian proper names) - Emit bounded chunk text excerpts (up to 2000 chars) and identify primary_source in realtime sources events - Bound OpenAI output generation via OPENAI_REALTIME_MAX_OUTPUT_TOKENS and add answer_limited event - Handle old-turn search cancellation safely on turn supersession - Add end-to-end search tracing pipeline and diagnostic CLI - Add database organization title and settings update script
This commit is contained in:
@@ -339,3 +339,16 @@ with no evidence; no arbitrary threshold or synthetic calibration is installed.
|
||||
Current policy/profile must still match the reservation on stream admission; policy
|
||||
changes cannot silently upgrade, downgrade or switch a reserved provider. Health
|
||||
remains provider-free. Real voice/retrieval quality acceptance remains separate.
|
||||
|
||||
### OpenAI limited-answer workflow (2026-10-12)
|
||||
|
||||
Apply the voice API generation-limit amendment to existing Live machinery.
|
||||
Pin and acknowledge the server per-response budget for new sessions, including
|
||||
tool continuations. Do not backfill old execution profiles. OpenAI calls stage
|
||||
until validated successful terminal output; a cut-off tool phase fails safely.
|
||||
Validated audio-only max_output_tokens termination remains incomplete/limited,
|
||||
drains existing output credit, and retains normal interruption/truncation and
|
||||
current-input/authority release gates. No automatic continuation is authorized.
|
||||
Final OpenAI transcript completion waits for terminal classification within the
|
||||
existing control budget. Consumer integration and separate funded/browser
|
||||
acceptance are in docs/guides/openai-output-limit-repair.md.
|
||||
|
||||
Reference in New Issue
Block a user