[PR #319] [MERGED] fix: actually stream events from the async client #393

Closed
opened 2026-02-16 01:17:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/319
Author: @masci
Created: 10/15/2024
Status: Merged
Merged: 10/15/2024
Merged by: @masci

Base: mainHead: massi/debug-streaming


📝 Commits (5)

  • b4a8aca remove duplicated code
  • c57f83d fix streaming client
  • c165b45 Merge branch 'main' into massi/debug-streaming
  • 936587a use async client
  • 503387d refresh the session object at each iteration

📊 Changes

2 files changed (+38 additions, -57 deletions)

View changed files

📝 llama_deploy/client/async_client.py (+24 -22)
📝 llama_deploy/control_plane/server.py (+14 -35)

📄 Description

Fixes https://github.com/run-llama/llama_deploy/issues/308

Changes:

  • Fixed the way httpx is used to consume the StreamResponse from FastAPI
  • Removed some duplicated code (to be double checked during review)

🔄 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/llama_deploy/pull/319 **Author:** [@masci](https://github.com/masci) **Created:** 10/15/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@masci](https://github.com/masci) **Base:** `main` ← **Head:** `massi/debug-streaming` --- ### 📝 Commits (5) - [`b4a8aca`](https://github.com/run-llama/llama_deploy/commit/b4a8acab6322029f2f20096bff1745f736306340) remove duplicated code - [`c57f83d`](https://github.com/run-llama/llama_deploy/commit/c57f83dcad6e14f2a3ab19a789f7a94f33c673b5) fix streaming client - [`c165b45`](https://github.com/run-llama/llama_deploy/commit/c165b4583f71e818208b3243c2261fd9c2f6af9f) Merge branch 'main' into massi/debug-streaming - [`936587a`](https://github.com/run-llama/llama_deploy/commit/936587a810da6c8d3b3d547fe7a398b9f9fc455c) use async client - [`503387d`](https://github.com/run-llama/llama_deploy/commit/503387d2b8580bb17a6250b67f81fa191961cccf) refresh the session object at each iteration ### 📊 Changes **2 files changed** (+38 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `llama_deploy/client/async_client.py` (+24 -22) 📝 `llama_deploy/control_plane/server.py` (+14 -35) </details> ### 📄 Description Fixes https://github.com/run-llama/llama_deploy/issues/308 Changes: - Fixed the way `httpx` is used to consume the `StreamResponse` from FastAPI - Removed some duplicated code (to be double checked during review) --- <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-16 01:17:10 -05:00
yindo closed this issue 2026-02-16 01:17:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_deploy#393