File tree Expand file tree Collapse file tree
agents/langflow/simple_tool_calling_agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Outdoor activity planning agent built with Langflow. It recommends the best day
4545### Start the local stack
4646
4747``` bash
48- cd agents/base/langflow_simple_tool_calling_agent
48+ cd agents/langflow/simple_tool_calling_agent
4949chmod +x deploy-local.sh cleanup-local.sh
5050./deploy-local.sh
5151```
Original file line number Diff line number Diff line change @@ -85,16 +85,21 @@ echo "Starting local stack (Langflow + PostgreSQL + Langfuse)..."
8585podman-compose up -d
8686
8787echo " "
88- echo " Waiting for services to start..."
89- sleep 10
88+ echo " Waiting for Langflow to start (this may take a minute)..."
89+ for i in $( seq 1 60) ; do
90+ if curl -s http://localhost:7860/health > /dev/null 2>&1 ; then
91+ break
92+ fi
93+ sleep 2
94+ done
9095
9196echo " "
9297echo " === Local environment is ready ==="
9398echo " "
9499echo " Langflow UI: http://localhost:7860"
95100echo " Langfuse: http://localhost:3000 (login: admin@langflow.local / admin123)"
96101if [ " $USE_OLLAMA " = " yes" ]; then
97- echo " Ollama API: http://localhost:11434 (running natively with GPU )"
102+ echo " Ollama API: http://localhost:11434 (running natively on host )"
98103fi
99104echo " "
100105echo " Next steps:"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ services:
2020 LANGFUSE_PUBLIC_KEY : " pk-lf-local-dev"
2121 LANGFUSE_SECRET_KEY : " sk-lf-local-dev"
2222 volumes :
23- - langflow_data:/var/lib/langflow
23+ - langflow_data:/var/lib/langflow:Z
2424 depends_on :
2525 postgres :
2626 condition : service_healthy
@@ -35,8 +35,8 @@ services:
3535 POSTGRES_PASSWORD : ${POSTGRES_PASSWORD:-langflow}
3636 POSTGRES_DB : ${POSTGRES_DB:-langflow}
3737 volumes :
38- - postgres_data:/var/lib/postgresql/data
39- - ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
38+ - postgres_data:/var/lib/postgresql/data:Z
39+ - ./init-db.sh:/docker-entrypoint-initdb.d/init-db.sh:Z
4040 healthcheck :
4141 test : ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-langflow}"]
4242 interval : 5s
You can’t perform that action at this time.
0 commit comments