mirror of
https://github.com/katanemo/plano.git
synced 2026-05-09 15:52:44 +02:00
use standard tracing and logging in brightstaff (#721)
This commit is contained in:
parent
4d9ed74b68
commit
46de89590b
55 changed files with 1494 additions and 2432 deletions
|
|
@ -47,13 +47,13 @@ This starts:
|
|||
- **Plano** (ports 12000, 8001) - routing and orchestration
|
||||
- **CrewAI Flight Agent** (port 10520) - flight search
|
||||
- **LangChain Weather Agent** (port 10510) - weather forecasts
|
||||
- **Open WebUI** (port 8080) - chat interface
|
||||
- **AnythingLLM** (port 3001) - chat interface
|
||||
- **Jaeger** (port 16686) - distributed tracing
|
||||
|
||||
### Try It Out
|
||||
|
||||
1. **Open the Chat Interface**
|
||||
- Navigate to [http://localhost:8080](http://localhost:8080)
|
||||
- Navigate to [http://localhost:3001](http://localhost:3001)
|
||||
- Create an account (stored locally)
|
||||
|
||||
2. **Ask Multi-Agent Questions**
|
||||
|
|
@ -75,9 +75,9 @@ This starts:
|
|||
## Architecture
|
||||
|
||||
```
|
||||
┌─────────────┐
|
||||
│ Open WebUI │ (Chat Interface)
|
||||
└──────┬──────┘
|
||||
┌──────────────┐
|
||||
│ AnythingLLM │ (Chat Interface)
|
||||
└──────┬───────┘
|
||||
│
|
||||
v
|
||||
┌─────────────┐
|
||||
|
|
|
|||
|
|
@ -55,3 +55,4 @@ listeners:
|
|||
|
||||
tracing:
|
||||
random_sampling: 100
|
||||
opentracing_grpc_endpoint: http://jaeger:4317
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ services:
|
|||
environment:
|
||||
- ARCH_CONFIG_PATH=/app/arch_config.yaml
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY:?OPENAI_API_KEY environment variable is required but not set}
|
||||
- OTEL_TRACING_HTTP_ENDPOINT=http://host.docker.internal:4318/v1/traces
|
||||
- OTEL_TRACING_GRPC_ENDPOINT=http://jaeger:4317
|
||||
- LOG_LEVEL=${LOG_LEVEL:-info}
|
||||
volumes:
|
||||
- ./config.yaml:/app/arch_config.yaml:ro
|
||||
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
|
||||
|
|
@ -36,15 +37,20 @@ services:
|
|||
- LLM_GATEWAY_ENDPOINT=http://plano:12000/v1
|
||||
command: ["python", "-u", "langchain/weather_agent.py"]
|
||||
|
||||
open-web-ui:
|
||||
image: dyrnq/open-webui:main
|
||||
anythingllm:
|
||||
image: mintplexlabs/anythingllm
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "3001:3001"
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
environment:
|
||||
- DEFAULT_MODEL=gpt-4o-mini
|
||||
- ENABLE_OPENAI_API=true
|
||||
- OPENAI_API_BASE_URL=http://plano:8001/v1
|
||||
- STORAGE_DIR=/app/server/storage
|
||||
- LLM_PROVIDER=generic-openai
|
||||
- GENERIC_OPEN_AI_BASE_PATH=http://plano:8001/v1
|
||||
- GENERIC_OPEN_AI_MODEL_PREF=gpt-4o-mini
|
||||
- GENERIC_OPEN_AI_MODEL_TOKEN_LIMIT=128000
|
||||
- GENERIC_OPEN_AI_API_KEY=sk-placeholder
|
||||
|
||||
jaeger:
|
||||
build:
|
||||
|
|
@ -53,4 +59,3 @@ services:
|
|||
ports:
|
||||
- "16686:16686" # Jaeger UI
|
||||
- "4317:4317" # OTLP gRPC receiver
|
||||
- "4318:4318" # OTLP HTTP receiver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue