Skip to content

docs: fix factual errors in transport docs and CLI init page#646

Merged
chadbailey59 merged 1 commit intomainfrom
fix/factual-errors-audit
Mar 24, 2026
Merged

docs: fix factual errors in transport docs and CLI init page#646
chadbailey59 merged 1 commit intomainfrom
fix/factual-errors-audit

Conversation

@chadbailey59
Copy link
Contributor

@chadbailey59 chadbailey59 commented Mar 24, 2026

I'm doing some docs cleanup, so expect a few more PRs from one of my Claudes :)

Summary

Fixes 5 factual errors found during a documentation audit against the source repositories:

  • Gemini transport: wrong npm package name in footer (@pipecat-ai/realtime-websocket-transport@pipecat-ai/gemini-live-websocket-transport)
  • Gemini transport: example and interface used generation_config instead of settings (verified against geminiLiveWebSocketTransport.ts)
  • OpenAI WebRTC transport: example used session_config instead of settings (verified against OpenAIRealTimeWebRTCTransport.ts)
  • SmallWebRTC transport: iceServers typed as string[] but source type is RTCIceServer[] — updated type and all examples to use { urls: "..." } object format
  • CLI init: --smart-turn / --no-smart-turn flag was removed from the CLI (per CHANGELOG) but still appeared in docs — removed ParamField and "smart_turn" from sample config JSON

Test plan

  • Verify Gemini transport page renders correctly and package link works
  • Verify OpenAI WebRTC transport page renders correctly
  • Verify SmallWebRTC transport page renders correctly
  • Verify CLI init page renders correctly with no stale flags

🤖 Generated with Claude Code

- Fix wrong npm package name in Gemini transport footer
  (`@pipecat-ai/realtime-websocket-transport` → `@pipecat-ai/gemini-live-websocket-transport`)
- Fix Gemini transport using `generation_config` instead of `settings`
  in both the code example and interface definition
- Fix OpenAI WebRTC transport using `session_config` instead of `settings`
  in the code example
- Fix SmallWebRTC `iceServers` type from `string[]` to `RTCIceServer[]`
  and update examples to use object format
- Remove `--smart-turn / --no-smart-turn` flag from CLI init docs
  (removed from CLI in a prior release) and remove `smart_turn` from
  sample config JSON

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mintlify
Copy link

mintlify bot commented Mar 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
daily 🟢 Ready View Preview Mar 24, 2026, 9:06 PM

Copy link
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

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

LGTM!

That's a pretty random assortment. Thanks for catching them.

@chadbailey59 chadbailey59 merged commit eadedf3 into main Mar 24, 2026
2 checks passed
@chadbailey59 chadbailey59 deleted the fix/factual-errors-audit branch March 24, 2026 21:21
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