mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-07-16 02:42:53 -04:00
[PR #470] [MERGED] feat: add config profiles to llamactl #485
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/470
Author: @masci
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/28/2025
Merged by: @masci
Base:
main← Head:massi/config-profiles📝 Commits (4)
aec3599feat: add config profiles to llamactl9368e4cadd unit testsa9d17efuse a test config file in testsc1a581dadd platformdirs dependency📊 Changes
13 files changed (+335 additions, -43 deletions)
View changed files
📝
llama_deploy/cli/__init__.py(+46 -5)📝
llama_deploy/cli/deploy.py(+11 -4)➕
llama_deploy/cli/internal/config.py(+42 -0)📝
llama_deploy/cli/run.py(+9 -4)📝
llama_deploy/cli/sessions.py(+9 -4)📝
llama_deploy/cli/status.py(+9 -4)📝
poetry.lock(+127 -18)📝
pyproject.toml(+1 -0)📝
tests/cli/conftest.py(+28 -3)➕
tests/cli/data/config.yaml(+9 -0)➕
tests/cli/internal/__init__.py(+0 -0)➕
tests/cli/internal/test_config.py(+38 -0)📝
tests/cli/test_cli.py(+6 -1)📄 Description
This PR adds support for config profiles to
llamactl. From now on,llamactlwill store a configuration file with the following format:Users can specify what profile to use by passing its name with the option
--profile. Thedefaultprofile will be selected when--profileis not used.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.