Skip to content

v1.15.2

Choose a tag to compare

@mohitsoni48 mohitsoni48 released this 15 Nov 07:23
· 252 commits to main since this release
98152a2

Voice: talk to a model and have it read its answers back, all on your machine.

Added

  • Voice input. A microphone in the chat box records a message and stops by itself when you finish speaking (or
    when you press Done). What happens to the recording depends on what you have:

    • Speech-to-text with whisper.cpp. The recording is turned into text
      in the chat box, where you can fix it before sending. Settings → Voice sets it up: on Windows and Linux one click
      installs whisper.cpp's own release build (checked against a pinned checksum); on macOS, where whisper.cpp publishes
      no build, it uses the one Homebrew installs (brew install whisper.cpp); anywhere, you can point it at a
      whisper-server of your own. The Android app is meant to carry whisper.cpp inside the app (a matching TurboLLM-Android
      release is needed for that; this release only looks for it), so a phone would need nothing installed. Then download a model (Base is a good start, and its compact build on a phone;
      Tiny to Large v3 Turbo are listed, and a ggml file you put in the models folder yourself is offered too). whisper
      runs on the CPU unless you turn the GPU option on, starts when you first record, and stops again after ten minutes
      unused. With that Android release a GPU server comes too (a second, Vulkan build of whisper-server, for Android 9 and
      later), so the option is there as well; if the phone's graphics driver cannot run it, the recording is
      transcribed on the CPU instead and Settings → Voice says why.
    • Models that hear audio. A model that takes audio as input (Voxtral, Ultravox, Qwen-Omni and others on
      llama.cpp, found from the engine's own /props; a LiteRT-LM bundle with an audio encoder in the Android app) can
      be sent the recording as it is, so it hears your voice, not only your words. With both available TurboLLM asks
      after each recording, Send as audio or Convert to text, and "Don't ask again" (or Settings → Voice) makes
      one the rule. A voice message shows in the chat as a player, is kept with the conversation as a file, and is sent
      again with later turns so the model keeps the thread; a model that cannot hear gets a [Voice message] placeholder
      in its place.
  • Read aloud. A speaker button on every reply reads it in your device's own voice, skipping code blocks and
    markup. Settings → Voice picks the voice and speed, and can read replies out as they are written: every reply, or
    only the replies to messages you spoke.

    • In the reply's language. The language of a reply is worked out on your device and it is read by a voice for
      that language: an answer in Spanish gets a Spanish voice, a Japanese sentence in an English answer a Japanese one,
      whichever language your system is set to. A voice you pick is used for its own language. Settings → Voice lists
      the languages your device can read; when a reply is in one it has no voice for, TurboLLM says so once and reads on
      with the voice it has (in the Android app, Get voices opens the speech engine's downloads).
    • Offline voices by default. Only voices that speak on your device are used. Allow online voices lets a
      voice made on its maker's servers fill in for a language your device lacks; the text of the reply is sent there,
      so it is off until you turn it on.
  • Speech-to-text API. POST /v1/audio/transcriptions and /v1/audio/translations, in the shape of OpenAI's
    Whisper API (response_format json, text, srt, vtt or verbose_json; language, prompt, temperature), answered
    by whisper.cpp once it is set up. Until then these paths go to the engine as before.

  • Voice clips in the chat API. POST /api/v1/conversations/:id/messages takes audio (WAV or MP3 data: URLs)
    beside images, and refuses it with 409 audio_unsupported for a model that cannot hear. GET /api/v1/status
    reports model.audio for a loaded model that can.

  • Python sandbox runtime (Experimental, off by default: Settings → Experimental → Python sandbox; desktop only).
    The first step of the Python sandbox (GitHub #52). With the switch on, Download fetches Deno 2.9.6 and Pyodide 0.29.5
    with pandas, numpy, matplotlib, Pillow, sympy and their dependencies, about 77 MB once and about 130 MB on disk, into
    runtimes/sandbox/ next to the config. Every file is checked against a size and SHA-256 shipped inside TurboLLM, and
    the install is all or nothing. Turning the switch off keeps the runtime; Remove deletes it. Nothing runs Python yet;
    that comes with the run_python tool.

  • Read PDFs in fetch_url (off by default: Settings → Tools). With it on, a PDF fetched by the tool is read as text for the model; changing the setting takes effect without a daemon restart.

  • llama.cpp-tq3 engine: a build-from-source Engines card for the TurboQuant weight formats.

  • MCP Web Engine stdio tools added to the MCP catalog.

  • Built-in engines on Android: the Android app's own engines (LiteRT-LM and llama.cpp CPU) appear as proper Engines rows, and Discover and onboarding pick models the active engine can read.

Changed

  • The desktop app may use the microphone, and only the microphone: a page asking for the camera or the screen is
    still refused. macOS asks for permission the first time you record.
  • Voice input needs a secure page. Browsers give a page the microphone only over https or on the machine itself,
    so over plain http on your LAN the microphone button explains this instead of recording. Remote access (https) and
    the desktop and Android apps are unaffected.
  • Right-click menu in the desktop app.

Fixed

  • MCP over streamable HTTP now completes its handshake correctly, so hosted MCP servers that rejected the old one connect.