Skip to content

AI-Bluetooth-Phone-Assistant 3.5

Pre-release
Pre-release

Choose a tag to compare

@antor44 antor44 released this 19 Nov 11:56
· 17 commits to main since this release
9b7d7ec

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 PHONE badge (combined with contact/manual tags): calls left directly to the phone now always keep their 📱 ON THE PHONE / 📱 EN EL MÓVIL badge, 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 PHONE prefix.
  • 🎙️ Less fragmented sentences (VAD Silence Duration 900 ms): the default silence before Gemini Live considers a caller turn finished increases from 600 ms to 900 ms (plus a slightly longer noise-gate hangover of 12 chunks), avoiding mid-sentence cutoffs on brief hesitations. Existing databases still holding the 600 default are migrated once to 900 without touching custom values.
  • 📚 README & Models panel polish: updated the free-limits table with per-minute token limits (notably ~16,000 tokens/min on gemma-4-26b-a4b-it), clarified continuous call-audio billing and multi-turn context on gemini-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_points skips 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_closing vote has already confirmed the end of the conversation, the post-audio grace period shortens to 0.5 s instead of waiting an extra 2.0 s of dead silence.
    • Short 1–2 word utterances during a pending farewell (e.g., Gemini Live mishearing "Adiós." as "A ver.") wait 1.0 s before cancelling, allowing Gemini 3.5 Transcribe Live or Whisper.cpp to confirm the farewell instead of cancelling prematurely.
    • Updated hangup_cancelled in en-US and es-ES so the assistant knows no disconnect is in progress and invokes hangup again immediately if the caller asks why the call is still open or repeats goodbye.
  • 🔊 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, 120 ms 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 in defaults.json applies to new databases, and an existing database receives it on first launch.
  • 🔎 Bluetooth codec probe no longer fails with JSONDecodeError: when a node disappeared while pw-dump was listing the audio graph (common right after answering), pw-dump printed a second JSON array and the [Audio] Bluetooth link: line showed unknown | 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_cancelled and inline_prompts.greeting_adaptive in your assistant.json (and ui_price_live in gui.json) to match en-US / es-ES.
  • Android app: nothing to do if you already have version 1.1.4. APK SHA-256 (version 1.1.4): 452ff113f053dd5cc1ffa21b501c1e44d052b1e8b858dd7128e95e853b516d96