Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Check for Broken Links

on:
pull_request:
branches:
- main
push:
branches:
- main
# Allow manual trigger
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install Mintlify CLI
run: npm install -g mint

- name: Check for broken links
run: mint broken-links
continue-on-error: false

- name: Comment on PR (if failed)
if: failure() && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ **Broken links detected!**\n\nPlease check the workflow logs for details on which links are broken and fix them before merging.'
})
2 changes: 1 addition & 1 deletion server/frameworks/rtvi/google-rtvi-observer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This observer should replace the base `RTVIObserver` and be set up exactly the s
from pipecat.services.google.rtvi import GoogleRTVIObserver

# Create the RTVIProcessor
rtvi = RTVIProcessor(config=RTVIConfig(config=[]))
rtvi = RTVIProcessor()

# Add to pipeline
pipeline = Pipeline([
Expand Down
4 changes: 2 additions & 2 deletions server/frameworks/rtvi/rtvi-processor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ The `RTVIProcessor` manages bidirectional communication between clients and your
Add the `RTVIProcessor` to your pipeline:

```python
from pipecat.processors.rtvi import RTVIProcessor, RTVIConfig, RTVIServiceConfig
from pipecat.processors.frameworks.rtvi import RTVIProcessor

# Create the RTVIProcessor
rtvi = RTVIProcessor(config=RTVIConfig(config=[]))
rtvi = RTVIProcessor()

# Add to pipeline
pipeline = Pipeline([
Expand Down