Configuration
LLM Provider Profiles
Each LLM provider is configured via Quarkus profiles in ai/src/main/resources/application.properties.
OpenAI (default)
%openai.quarkus.langchain4j.openai.api-key=${OPENAI_API_KEY}
%openai.quarkus.langchain4j.openai.chat-model.model-name=gpt-4o-mini
%openai.quarkus.langchain4j.openai.timeout=120s
Scorer Configuration
The test evaluation scorer defaults to OpenAI but can be overridden:
export SCORER_BASE_URL=https://api.x.ai/v1
export SCORER_API_KEY=$GROK_API_KEY
export SCORER_MODEL=grok-3-mini
MCP Client Configuration
Application Port
The AI module runs on port 8080 by default. The app.ports property configures which of your application ports to connect to via Dev MCP for source examination and dashboard generation.
LGTM Profile
For manual LGTM connection (without DevServices), use the lgtm profile. Key properties:
%lgtm.quarkus.observability.enabled=false
%lgtm.grafana.endpoint=http://localhost:3000
%lgtm.tempo-mcp.endpoint=http://localhost:3200
%lgtm.otel-collector.url=localhost:4318
LGTM Docker ports: Grafana=3000, OTLP gRPC=4317, OTLP HTTP=4318, Tempo=3200.