[PR #522] [MERGED] feat: imply --local when 'serve' is called passing a deployment file #526

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/522
Author: @masci
Created: 5/29/2025
Status: Merged
Merged: 5/29/2025
Merged by: @masci

Base: mainHead: massi/default-local


📝 Commits (1)

  • 6bb6e60 feat: imply --local when 'serve' is called passing a deployment file

📊 Changes

2 files changed (+8 additions, -35 deletions)

View changed files

📝 llama_deploy/cli/serve.py (+2 -3)
📝 tests/cli/test_serve.py (+6 -32)

📄 Description

The --local flag is hidden, and the behaviour of the resulting instance when not passed is confusing. Let's assume that if an user passes a deployment file like llamactl serve /path/to/deployment.yaml, a local execution is assumed.


🔄 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/522 **Author:** [@masci](https://github.com/masci) **Created:** 5/29/2025 **Status:** ✅ Merged **Merged:** 5/29/2025 **Merged by:** [@masci](https://github.com/masci) **Base:** `main` ← **Head:** `massi/default-local` --- ### 📝 Commits (1) - [`6bb6e60`](https://github.com/run-llama/llama_deploy/commit/6bb6e60a2bb738f4a57b8fff2803437242c97edf) feat: imply --local when 'serve' is called passing a deployment file ### 📊 Changes **2 files changed** (+8 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `llama_deploy/cli/serve.py` (+2 -3) 📝 `tests/cli/test_serve.py` (+6 -32) </details> ### 📄 Description The `--local` flag is hidden, and the behaviour of the resulting instance when not passed is confusing. Let's assume that if an user passes a deployment file like `llamactl serve /path/to/deployment.yaml`, a local execution is assumed. --- <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 02:15:28 -05:00
yindo closed this issue 2026-02-16 02:15:28 -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#526