Skip to content

Baseten Plugin Update: fix metadata schema, add chain_id support, and improve response parsing#4889

Open
jiegong-fde wants to merge 4 commits intolivekit:mainfrom
jiegong-fde:jieg/update_b10_plugin
Open

Baseten Plugin Update: fix metadata schema, add chain_id support, and improve response parsing#4889
jiegong-fde wants to merge 4 commits intolivekit:mainfrom
jiegong-fde:jieg/update_b10_plugin

Conversation

@jiegong-fde
Copy link

@jiegong-fde jiegong-fde commented Feb 18, 2026

Summary

Updates the Baseten STT plugin to align with Baseten's current Streaming Transcription API, adds ergonomic endpoint configuration via model_id / chain_id parameters, and significantly expands the README documentation.

Motivation: The existing plugin had several issues that prevented it from working correctly with Baseten's streaming ASR API:

  • Wrong metadata field names — The plugin sent vad_params and streaming_whisper_params in the WebSocket metadata, but Baseten's StreamingWhisperInput schema (which uses extra="forbid") expects whisper_params, streaming_params, streaming_vad_config, and streaming_diarization_config. This caused the connection to be rejected outright.

  • No chain deployment support — Users had to manually construct WebSocket URLs. There was no way to specify a chain ID, which is the recommended deployment type for Baseten's streaming ASR.

  • Missing streaming parameters — Options like enable_partial_transcripts, partial_transcript_interval_s, show_word_timestamps, and final_transcript_max_duration_s were not exposed, limiting configurability.

  • Incomplete response parsing — The plugin didn't handle chain responses (which lack a top-level transcript field and include a "type": "transcription" wrapper), nor did it extract word-level timestamps from word_timestamps within segments.

@CLAassistant
Copy link

CLAassistant commented Feb 18, 2026

CLA assistant check
All committers have signed the CLA.

@jiegong-fde jiegong-fde force-pushed the jieg/update_b10_plugin branch from d6e828c to 8e1c5a2 Compare February 18, 2026 22:45
@jiegong-fde jiegong-fde changed the title Jieg/update b10 plugin Baseten Plugin Update: fix metadata schema, add chain_id support, and improve response parsing Feb 18, 2026
@jiegong-fde jiegong-fde marked this pull request as ready for review February 18, 2026 23:14
devin-ai-integration[bot]

This comment was marked as resolved.

@jiegong-fde jiegong-fde force-pushed the jieg/update_b10_plugin branch 2 times, most recently from 26364d0 to a281e84 Compare February 18, 2026 23:28
@jiegong-fde
Copy link
Author

Ready for review.

@jiegong-fde jiegong-fde reopened this Feb 20, 2026
@jiegong-fde
Copy link
Author

recheck

@jiegong-fde
Copy link
Author

jiegong-fde commented Feb 20, 2026

A side note: I've signed the cla but somehow it shows unsigned
image

@jiegong-fde jiegong-fde force-pushed the jieg/update_b10_plugin branch from 3f831e4 to c0e59c0 Compare February 26, 2026 04:56
Copy link
Contributor

@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 found 1 new potential issue.

View 9 additional findings in Devin Review.

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.

2 participants