REFERENCE / CONFIG SCHEMA
Config schema
This is the exhaustive reference for promptLM configuration. For the narrative version (what to set first, what’s required) see Configuration.
Environment variables
The .env.example shipped at the repository root declares the
variables the CLI and Studio expect.
| Variable | Required | Purpose |
|---|---|---|
|
yes |
Base URL of the Git host’s REST API endpoint (not the web UI). See Configuration § Environment variables for the host → endpoint table. |
|
yes |
Username or owner on the remote host. |
|
yes |
Personal access token with |
|
yes |
Forwarded to Spring AI’s OpenAI client and the |
|
no |
Forwarded to Spring AI’s Anthropic client when the model catalog routes to Claude. |
|
no, default |
Permit loopback aliases when resolving the remote URL — useful for local Gitea setups. |
|
no, default |
Picks the prompt-release promotion mode. See Releases § Promotion modes. |
promptlm.* properties
Spring properties read by the CLI and Studio.
| Property | Default | Purpose |
|---|---|---|
|
|
|
|
|
Local directory under which prompt stores are created. |
|
|
Username for the remote store client. |
|
|
Token for the remote store client. |
|
|
Remote host API base URL. |
|
|
Permit loopback aliases when resolving the remote URL. |
promptlm.gateway.litellm.* properties
The LiteLLM gateway module is opt-in. Full property reference, including
nested docker. and discovery. groups, is on
LLM providers.
Spring AI properties
| Property | Reads from |
|---|---|
|
|
|
|
Studio (watch.*) properties
The Studio runtime reads two polling intervals plus the OpenAI key binding.
| Property | Default | Purpose |
|---|---|---|
|
|
How often Studio polls the API for project state. |
|
|
How often Studio polls the workspace directory. |
|
|
Bound from the env var; used by the Studio runtime path. |
Logging and management
logging.level.root defaults to warn for the CLI distribution. JVM
metric binders are disabled by default for fast startup; re-enable per
your operational needs.