librechat-sandbox: image gen bills to system key (no gate); fallback usage monitored in digest

This commit is contained in:
Nathan Schneider committed 2026-10-19 08:30:40 -06:00
1 parent 0e708a99c6
commit fde5d143c5
1 file changed
+8 -7
+8 -7
View File
@@ -49,13 +49,14 @@ summary.
## Image generation (two member-facing paths) ## Image generation (two member-facing paths)
1. **MCP tool (default, no key ever)**: the `inference-image` MCP server 1. **MCP tool (default, no key ever, no gate)**: the `inference-image` MCP
exposes `generate_image` in the composer's **+** palette — no agent setup, server exposes `generate_image` in the composer's **+** palette — no agent
no key prompt. The server uses the member's `IC_API_KEY` if LibreChat setup, no key prompt. Images bill to the co-op SYSTEM key
injected one, otherwise sends a **keyless request** (the gateway bills the (`SYSTEM_IMAGE_KEY`, LiteLLM alias `system-image-fallback`, $5/30d,
request; per-member billing is NOT enforced on this path). `regolo/qwen-image` only). No `customUserVars` gate — it made the credential
`customUserVars` were removed from the live yaml on 2026-10-19 — members REQUIRED and blocked the whole server for any not-yet-seeded member
are never asked for a key. (first-login gap) before the fallback could run, and v0.8.8 has no optional
flag. Per-member image billing is therefore deferred.
2. **Agent tool**: LibreChat's built-in "OpenAI Image Tools" 2. **Agent tool**: LibreChat's built-in "OpenAI Image Tools"
(`IMAGE_GEN_OAI_BASEURL`/`IMAGE_GEN_OAI_MODEL` → gateway; members paste (`IMAGE_GEN_OAI_BASEURL`/`IMAGE_GEN_OAI_MODEL` → gateway; members paste
their own key — v0.8.8 limitation). their own key — v0.8.8 limitation).