File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,15 @@ LLAMA_STACK_IMAGE ?= lightspeed-llama-stack:local
1717LLAMA_STACK_PORT ?= 8321
1818CONTAINER_RUNTIME ?= $(shell command -v podman 2>/dev/null || command -v docker 2>/dev/null)
1919
20- .PHONY : run run-local build-llama-stack-image remove-llama-stack-container start-llama-stack-container wait-for-llama-stack-health clean-llama-stack
20+ .PHONY : run run-stack build-llama-stack-image remove-llama-stack-container start-llama-stack-container wait-for-llama-stack-health clean-llama-stack
2121
22- run : start-llama-stack-container # # Run the service locally with llama-stack container
23- @echo " Starting Lightspeed Core Stack..."
22+ run-stack : # # Run lightspeed-stack directly, without building dependent service/s
2423 uv run src/lightspeed_stack.py -c $(CONFIG )
2524
25+ run : start-llama-stack-container # # Run the service locally with dependent services
26+ @echo " Starting Lightspeed Core Stack..."
27+ $(MAKE ) run-stack
28+
2629build-llama-stack-image : remove-llama-stack-container # # Build llama-stack container image
2730 @echo " Building llama-stack container image..."
2831 @if [ -z " $( CONTAINER_RUNTIME) " ]; then \
@@ -108,8 +111,6 @@ clean-llama-stack: remove-llama-stack-container ## Remove container and image
108111 echo " Removing llama-stack image..." ; \
109112 $(CONTAINER_RUNTIME ) rmi $(LLAMA_STACK_IMAGE ) ; \
110113 fi
111- run-local : # # Run the service locally, assuming llama-stack is already running externally
112- uv run src/lightspeed_stack.py -c $(CONFIG )
113114
114115run-llama-stack : # # Start Llama Stack with enriched config (for local service mode)
115116 uv run src/llama_stack_configuration.py -c $(CONFIG ) -i $(LLAMA_STACK_CONFIG ) -o $(LLAMA_STACK_CONFIG ) && \
You can’t perform that action at this time.
0 commit comments