[PR #68] [MERGED] Fix escaping double quotes in vercel_response.py #222

Closed
opened 2026-02-15 19:16:46 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/68
Author: @leehuwuj
Created: 4/26/2024
Status: Merged
Merged: 4/26/2024
Merged by: @marcusschiesser

Base: mainHead: lee/fix-escape-double-quote


📝 Commits (2)

  • ecdb523 Fix escaping double quotes in vercel_response.py
  • f33f6d7 use json dumps

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 templates/types/streaming/fastapi/app/api/routers/vercel_response.py (+3 -3)

📄 Description

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced the convert_text method in the VercelStreamResponse class to escape newlines and double quotes, preventing stream breakage.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/68 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 4/26/2024 **Status:** ✅ Merged **Merged:** 4/26/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `lee/fix-escape-double-quote` --- ### 📝 Commits (2) - [`ecdb523`](https://github.com/run-llama/create-llama/commit/ecdb52348ae9cee6a7e5d788f1ad6783a02a6002) Fix escaping double quotes in vercel_response.py - [`f33f6d7`](https://github.com/run-llama/create-llama/commit/f33f6d786b65b23ebc6a81688af8bf657e48b79a) use json dumps ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `templates/types/streaming/fastapi/app/api/routers/vercel_response.py` (+3 -3) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Enhanced the `convert_text` method in the `VercelStreamResponse` class to escape newlines and double quotes, preventing stream breakage. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:46 -05:00
yindo closed this issue 2026-02-15 19:16:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#222