mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #480] [MERGED] fix: create path to config dir if does not exist #493
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/480
Author: @masci
Created: 3/7/2025
Status: ✅ Merged
Merged: 3/7/2025
Merged by: @masci
Base:
main← Head:massi/fix-config-path📝 Commits (1)
c5f7715fix: create path to config dir if does not exist📊 Changes
2 files changed (+10 additions, -0 deletions)
View changed files
📝
llama_deploy/cli/internal/config.py(+2 -0)📝
tests/cli/internal/test_config.py(+8 -0)📄 Description
The config path returned by
platformdirsmight not exist (the most likely scenario in docker containers), make sure we create the full path to the default config file when the CLI runs for the first time.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.