README: document manifest-pinned deploy flow, builder-cache trap, branding overlay, keyless image path; mirror live volume files

This commit is contained in:
Nathan Schneider committed 2026-10-18 22:52:23 -06:00
1 parent 571084d8bf
commit 91e97b00ea
3 files changed
+173 -67

No files matched your search

+4 -9
View File
@@ -37,16 +37,11 @@ def log(msg):
def tool_generate_image(args):
# Seamless: use the member's own key if LibreChat injected one; otherwise
# fall back to a keyless request so members who never saved a key can
# still generate images (the gateway bills their shared co-op allowance).
key = (os.environ.get("IC_API_KEY") or "").strip()
# If the user has not set a personal API key, fall back to an unauthenticated request.
# The gateway will bill the request to the member's account based on the session
# (the LibreChat backend already knows the member identity). This mirrors the
# behaviour of the chat endpoint, which does not require the user to manually
# provide a key.
if not key:
auth_header = {}
else:
auth_header = {"Authorization": f"Bearer {key}"}
auth_header = {"Authorization": f"Bearer {key}"} if key else {}
prompt = str(args.get("prompt") or "").strip()
if not prompt: