mirror of
https://github.com/katanemo/plano.git
synced 2026-05-11 16:52:41 +02:00
fix run_demo.sh scripts
to ensure that otel is started earlier than plano
This commit is contained in:
parent
2bb0826a51
commit
eb35b40635
12 changed files with 96 additions and 84 deletions
|
|
@ -18,19 +18,20 @@ start_demo() {
|
|||
echo ".env file created with API keys."
|
||||
fi
|
||||
|
||||
# Step 3: Start Plano
|
||||
echo "Starting Plano with config.yaml..."
|
||||
planoai up config.yaml
|
||||
|
||||
# Step 4: Start agents natively
|
||||
echo "Starting agents..."
|
||||
bash start_agents.sh &
|
||||
|
||||
# Step 5: Optionally start UI services (AnythingLLM, Jaeger)
|
||||
# Step 3: Optionally start UI services (AnythingLLM, Jaeger)
|
||||
# Jaeger must start before Plano so it can bind the OTEL port (4317)
|
||||
if [ "$1" == "--with-ui" ]; then
|
||||
echo "Starting UI services (AnythingLLM, Jaeger)..."
|
||||
docker compose up -d
|
||||
fi
|
||||
|
||||
# Step 4: Start Plano
|
||||
echo "Starting Plano with config.yaml..."
|
||||
planoai up config.yaml
|
||||
|
||||
# Step 5: Start agents natively
|
||||
echo "Starting agents..."
|
||||
bash start_agents.sh &
|
||||
}
|
||||
|
||||
# Function to stop the demo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue