Env-driven builder
BaseLLM llm = GeminiLLM.builder()
.apiKey(env("GEMINI_API_KEY"))
.model(env("GEMINI_MODEL", "gemini-2.5-flash"))
.location(env("GEMINI_LOCATION", "us-central1"))
.build();Advertisement
Typed config helpers
Wrap System.getenv with typed helpers. Fail-fast on missing required.
Advertisement
Config profiles
Local, dev, staging, prod. Different YAML per profile. Merged at startup.