mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #277] [MERGED] feat: add default-service to the config spec
#370
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/277
Author: @masci
Created: 9/27/2024
Status: ✅ Merged
Merged: 9/27/2024
Merged by: @masci
Base:
main← Head:massi/config-entrypoint📝 Commits (1)
86dab8fadd default-service to the config spec📊 Changes
3 files changed (+4 additions, -0 deletions)
View changed files
📝
llama_deploy/apiserver/config_parser.py(+1 -0)📝
tests/apiserver/data/example.yaml(+2 -0)📝
tests/apiserver/test_config_parser.py(+1 -0)📄 Description
When running a task for a deployment, users need to pass the service name where the task will be sent to. We expect most of the times this will be always the same service that acts as an "entrypoint" for the deployment, so we add a default configuration param in the deployment definition and let user omit it at task creation time.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.