Skip to content

Google STT stopped workingΒ #4351

@aryanvdesh

Description

@aryanvdesh

Bug Description

It looks like some recent changes might have caused the Google STT plugin to stop working. We recently upgraded the package to the latest version (1.3.8 to 1.3.9)

The logs simply say: resumed false interrupted speech. We tried adding logs inside the STT plugin and it looks like no response was returned from Google's API.

After looking at the commit history for the STT plugin, I was able to get it running by using the source code for the plugin before this commit: 30d1319

Let me know if any other information might be useful, thanks!

Expected Behavior

The Google STT plugin should successfully transcribe speech and return responses from Google's API, as it did in version 1.3.8

Reproduction Steps

stt = GoogleSTT(
    languages="en-US",
    model="chirp_3",
    location="us",
    min_confidence_threshold=0.0,
    enable_word_time_offsets=False,
    credentials_file=os.environ["GOOGLE_APPLICATION_CREDENTIALS"],
)

(with Silero + Turn Detector)

Operating System

macOS Sequoia

Models Used

No response

Package Versions

livekit-agents[google,silero,turn-detector]~=1.3

Session/Room/Call IDs

No response

Proposed Solution

Additional Context

No response

Screenshots and Recordings

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions