Skip to content

Conversation

@pabloFuente
Copy link
Contributor

@pabloFuente pabloFuente commented Feb 3, 2026

Using the Spitch plugin against their latest API endpoint is currently broken. The plugin returns this error:

livekit.agents._exceptions.APIStatusError: Error code: 400 - {'detail': 'invalid timestamp value'} (status_code=400, request_id=None, body={'detail': 'invalid timestamp value'}, retryable=False)

According to the official Spitch documentation, the "timestamp" parameter of the transcribe method must be a string, one of ["word", "sentence", "none"]. (See https://github.com/spi-tch/spitch-python/blob/main/src/spitch/types/speech_transcribe_params.py#L22)

This small change fixes the plugin. Spitch endpoint successfully returns transcriptions.


Open with Devin

Using the Spitch plugin against their latest API endpoint is currently broken. The plugin returns this error: 

livekit.agents._exceptions.APIStatusError: Error code: 400 - {'detail': 'invalid timestamp value'} (status_code=400, request_id=None, body={'detail': 'invalid timestamp value'}, retryable=False)

According to the official Spitch documentation, the "timestamp" parameter of the transcribe method must be a string ["word", "sentence", "none"].
(https://github.com/spi-tch/spitch-python/blob/main/src/spitch/types/speech_transcribe_params.py#L22)
This small change fixes the plugin. Spitch endpoint successfully returns transcriptions.
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional flag.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant