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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to **Pipecat** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Fixed an issue where the sessions route was created for a Next.js client even
when the SmallWebRTC transport was not in use.

## [0.1.8] - 2025-11-12

### Added
Expand Down
6 changes: 6 additions & 0 deletions src/pipecat_cli/generators/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,12 @@ def _copy_and_render_directory(self, source_dir: Path, dest_dir: Path) -> None:
# Calculate relative path
rel_path = item.relative_to(source_dir)

# Skip SmallWebRTC-specific files if SmallWebRTC is not in transports
if "smallwebrtc" not in self.config.transports:
# Skip the sessions API route for Next.js
if "api/sessions" in str(rel_path):
continue

# Determine destination path
if item.suffix == ".jinja2":
# Remove .jinja2 extension for rendered files
Expand Down
Loading