feat(voice): add bounded Realtime knowledge runtime
Connect OpenAI Realtime to the existing async StructuredTool and shared SearchToolRunner with backend-owned authority and per-turn source references. Add an operator-only smoke harness with persisted actor and provider opt-in. Enforce confirmed readiness delivery, strict function identity, canonical results and once-only continuations. Bound and pace generated audio, preserve turn correlation, and require acknowledged cleanup before response release. Handle Unicode arguments, UTF-8 replay budgets and user-ASR completion replays. Validate with 318 voice/runner/shutdown tests and 1563 provider-free tests. Three Windows symlink tests skip; 311 PostgreSQL tests are deselected. Real-provider, browser playback and PostgreSQL acceptance remain unrun.
This commit is contained in:
@@ -15,6 +15,7 @@ dependencies = [
|
||||
|
||||
[project.optional-dependencies]
|
||||
search = ["langchain-core>=1,<2"]
|
||||
voice = ["langchain-core>=1,<2", "websockets>=15,<18"]
|
||||
embedding = ["tiktoken>=0.8,<1"]
|
||||
test = ["pytest>=8.3,<10"]
|
||||
prototype = [
|
||||
|
||||
Reference in New Issue
Block a user