Repository navigation
AI-Bluetooth-Phone-Assistant 3.5
Pre-release
Pre-release
v3.5 - Faster pickup, permanent "on the phone" badge, smoother greeting & hangup 📱⚡🎙️
ℹ️ The Android app does not change: it stays at version 1.1.4.
✨ What's New
- ⚡ Faster pickup and greeting: removed ~3 seconds of blind sleeps after answering the call (
answer_call), checks the Bluetooth audio profile only when it is not already in HFP mode, and polls PipeWire nodes concurrently every 150 ms. The microphone starts recording much sooner, reducing dead air and preserving the caller's first words. - 📱 Permanent
📱 ON THE PHONEbadge (combined with contact/manual tags): calls left directly to the phone now always keep their📱 ON THE PHONE/📱 EN EL MÓVILbadge, even if you later add, edit or delete contact rules, change the switchboard mode, or pick a classification by hand. When a rule has a custom tag (e.g.🟣 Family), both appear together (📱 ON THE PHONE · 🟣 Family). - 🔄 Automatic rescue of older passthrough calls: on first launch, finished calls from previous versions whose
📱label had been overwritten by a contact tag (identified by their📱system line in the transcript) automatically recover their📱 ON THE PHONEprefix. - 🎙️ Less fragmented sentences (
VAD Silence Duration900 ms): the default silence before Gemini Live considers a caller turn finished increases from600 msto900 ms(plus a slightly longer noise-gate hangover of 12 chunks), avoiding mid-sentence cutoffs on brief hesitations. Existing databases still holding the600default are migrated once to900without touching custom values. - 📚 README & Models panel polish: updated the free-limits table with per-minute token limits (notably
~16,000 tokens/minongemma-4-26b-a4b-it), clarified continuous call-audio billing and multi-turn context ongemini-3.8-live, and updated the default VAD / passthrough tag documentation.
🐛 Bug Fixes
- 👋 Adaptive greeting no longer repeats or injects silent turns unnecessarily: when the caller speaks near the end of an adaptive greeting after the legal notice has already been spoken,
_check_greeting_pointsskips the redundant reminder (avoiding silent<no speech>turns). The adaptive greeting prompt also reminds the assistant not to add the boss's name unless it appears in the greeting text. - 👋 Faster, stall-free hangup:
- When the text model's
caller_closingvote has already confirmed the end of the conversation, the post-audio grace period shortens to0.5 sinstead of waiting an extra2.0 sof dead silence. - Short 1–2 word utterances during a pending farewell (e.g., Gemini Live mishearing
"Adiós."as"A ver.") wait1.0 sbefore cancelling, allowingGemini 3.5 Transcribe LiveorWhisper.cppto confirm the farewell instead of cancelling prematurely. - Updated
hangup_cancelledinen-USandes-ESso the assistant knows no disconnect is in progress and invokeshangupagain immediately if the caller asks why the call is still open or repeats goodbye.
- When the text model's
- 🔊 First word of the greeting no longer clipped on some Bluetooth links: with the blind sleeps removed, the first audio could reach the phone before the Bluetooth voice link had settled, cutting the first syllables (e.g. "Hola, buenos días" heard as "...buenos días"). The switchboard now writes a short stretch of silence (
playback_lead_silence_ms,120ms by default) to the player once, at the start of each call; the rest of the conversation gets no extra delay. It is an advanced setting with no Web GUI control: the value indefaults.jsonapplies to new databases, and an existing database receives it on first launch. - 🔎 Bluetooth codec probe no longer fails with
JSONDecodeError: when a node disappeared whilepw-dumpwas listing the audio graph (common right after answering),pw-dumpprinted a second JSON array and the[Audio] Bluetooth link:line showedunknown | JSONDecodeError('Extra data…'). All JSON documents in the output are now read and merged, so the line reports the real codec (e.g.mSBC (wide band, 16 kHz)). Diagnostic only: calls were never affected.
📥 Update
- Switchboard (PC, or Orange Pi / SBC over SSH): run from the installation directory:
cd ~/AI-Bluetooth-Phone-Assistant git pull ./install_system_deps.sh- Restart: launch manually with
./my_gui.sh, or, if you use the systemd user service:systemctl --user restart ai-switchboard.service. Live logs:./my_gui.sh --logs.- Custom languages: update
inline_prompts.hangup_cancelledandinline_prompts.greeting_adaptivein yourassistant.json(andui_price_liveingui.json) to matchen-US/es-ES.- Android app: nothing to do if you already have version 1.1.4. APK SHA-256 (version 1.1.4):
452ff113f053dd5cc1ffa21b501c1e44d052b1e8b858dd7128e95e853b516d96