mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
Update demos to use AnythingLLM and katanemo/plano:latest image
- Replace Open WebUI with AnythingLLM in travel_agents demo - Switch all demo plano services from local build to katanemo/plano:latest - Update llm_routing run_demo.sh to remove planoai CLI calls (plano now in docker-compose) - Clean up stale Open WebUI references in .gitignore and http_filter/http.rest Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ba651aaf71
commit
8a46e19c5f
10 changed files with 21 additions and 44 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -117,8 +117,6 @@ docs/build/
|
||||||
# Plano - Demos
|
# Plano - Demos
|
||||||
demos/function_calling/ollama/models/
|
demos/function_calling/ollama/models/
|
||||||
demos/function_calling/ollama/id_ed*
|
demos/function_calling/ollama/id_ed*
|
||||||
demos/function_calling/open-webui/
|
|
||||||
demos/function_calling/open-webui/
|
|
||||||
demos/shared/signoz/data
|
demos/shared/signoz/data
|
||||||
|
|
||||||
# Plano - Miscellaneous
|
# Plano - Miscellaneous
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,7 @@ services:
|
||||||
- LLM_GATEWAY_ENDPOINT=${LLM_GATEWAY_ENDPOINT:-http://host.docker.internal:12000/v1}
|
- LLM_GATEWAY_ENDPOINT=${LLM_GATEWAY_ENDPOINT:-http://host.docker.internal:12000/v1}
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY environment variable is required but not set}
|
- OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY environment variable is required but not set}
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "12000:12000"
|
- "12000:12000"
|
||||||
- "8001:8001"
|
- "8001:8001"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
@queryRewriter = {{host}}:10501
|
@queryRewriter = {{host}}:10501
|
||||||
@contextBuilder = {{host}}:10502
|
@contextBuilder = {{host}}:10502
|
||||||
|
|
||||||
# Plano agent listener (the thing Open WebUI calls)
|
# Plano agent listener (the thing AnythingLLM calls)
|
||||||
@planoAgent = {{host}}:8001
|
@planoAgent = {{host}}:8001
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
services:
|
services:
|
||||||
|
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "12000:12000"
|
- "12000:12000"
|
||||||
- "12001:12001"
|
- "12001:12001"
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,7 @@ start_demo() {
|
||||||
echo ".env file created with OPENAI_API_KEY."
|
echo ".env file created with OPENAI_API_KEY."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Step 3: Start Plano
|
# Step 3: Start LLM Routing
|
||||||
echo "Starting Plano with config.yaml..."
|
|
||||||
planoai up config.yaml
|
|
||||||
|
|
||||||
# Step 4: Start LLM Routing
|
|
||||||
echo "Starting LLM Routing using Docker Compose..."
|
echo "Starting LLM Routing using Docker Compose..."
|
||||||
docker compose up -d # Run in detached mode
|
docker compose up -d # Run in detached mode
|
||||||
}
|
}
|
||||||
|
|
@ -32,10 +28,6 @@ stop_demo() {
|
||||||
# Step 1: Stop Docker Compose services
|
# Step 1: Stop Docker Compose services
|
||||||
echo "Stopping LLM Routing using Docker Compose..."
|
echo "Stopping LLM Routing using Docker Compose..."
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
# Step 2: Stop Plano
|
|
||||||
echo "Stopping Plano..."
|
|
||||||
planoai down
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main script logic
|
# Main script logic
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,7 @@ services:
|
||||||
- LLM_GATEWAY_ENDPOINT=${LLM_GATEWAY_ENDPOINT:-http://host.docker.internal:12000/v1}
|
- LLM_GATEWAY_ENDPOINT=${LLM_GATEWAY_ENDPOINT:-http://host.docker.internal:12000/v1}
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY environment variable is required but not set}
|
- OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY environment variable is required but not set}
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "11000:11000"
|
- "11000:11000"
|
||||||
- "12001:12001"
|
- "12001:12001"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "8001:8001"
|
- "8001:8001"
|
||||||
- "12000:12000"
|
- "12000:12000"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
services:
|
services:
|
||||||
|
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "12000:12000"
|
- "12000:12000"
|
||||||
- "12001:12001"
|
- "12001:12001"
|
||||||
|
|
|
||||||
|
|
@ -49,14 +49,12 @@ docker compose up --build
|
||||||
This starts:
|
This starts:
|
||||||
- Weather Agent on port 10510
|
- Weather Agent on port 10510
|
||||||
- Flight Agent on port 10520
|
- Flight Agent on port 10520
|
||||||
- Open WebUI on port 8080
|
- AnythingLLM on port 3001
|
||||||
- Plano Proxy on port 8001
|
- Plano Proxy on port 8001
|
||||||
|
|
||||||
### 4. Test the System
|
### 4. Test the System
|
||||||
|
|
||||||
Use Open WebUI at http://localhost:8080
|
Use AnythingLLM at http://localhost:3001
|
||||||
|
|
||||||
> **Note:** The Open WebUI may take a few minutes to start up and be fully ready. Please wait for the container to finish initializing before accessing the interface. Once ready, make sure to select the **gpt-5.2** model from the model dropdown menu in the UI.
|
|
||||||
|
|
||||||
## Example Conversations
|
## Example Conversations
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
plano:
|
plano:
|
||||||
build:
|
image: katanemo/plano:latest
|
||||||
context: ../../../
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- "12000:12000"
|
- "12000:12000"
|
||||||
- "8001:8001"
|
- "8001:8001"
|
||||||
|
|
@ -40,19 +38,20 @@ services:
|
||||||
command: ["uv", "run", "python", "src/travel_agents/flight_agent.py"]
|
command: ["uv", "run", "python", "src/travel_agents/flight_agent.py"]
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
open-web-ui:
|
anythingllm:
|
||||||
image: dyrnq/open-webui:main
|
image: mintplexlabs/anythingllm
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "3001:3001"
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
environment:
|
environment:
|
||||||
- DEFAULT_MODEL=gpt-4o-mini
|
- STORAGE_DIR=/app/server/storage
|
||||||
- ENABLE_OPENAI_API=true
|
- LLM_PROVIDER=generic-openai
|
||||||
- OPENAI_API_BASE_URL=http://host.docker.internal:8001/v1
|
- GENERIC_OPEN_AI_BASE_PATH=http://plano:8001/v1
|
||||||
- ENABLE_FOLLOW_UP_GENERATION=false
|
- GENERIC_OPEN_AI_MODEL_PREF=gpt-4o-mini
|
||||||
- ENABLE_TITLE_GENERATION=false
|
- GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=128000
|
||||||
- ENABLE_TAGS_GENERATION=false
|
- GENERIC_OPEN_AI_API_KEY=sk-placeholder
|
||||||
- ENABLE_AUTOCOMPLETE_GENERATION=false
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- weather-agent
|
- weather-agent
|
||||||
- flight-agent
|
- flight-agent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue