From f8e3b0257371cf3ba39aa4454ad707a424484f57 Mon Sep 17 00:00:00 2001 From: Vitaly Zabershinsky Date: Mon, 10 Aug 2026 12:11:47 +0300 Subject: [PATCH] docs(sparc-service): document SPARC_LOG_REQUESTS and SPARC_STRIP_TOOL_ARG_KEYS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These two env vars were introduced by PR #738 (merged 2026-08-10) but never added to the sparc-service README's Configuration table. Documenting them here so operators discover them without having to read settings.py. Not touched here (not on main yet): SPARC_SKIP_TOOLS, SPARC_DEBUG_LLM, and SPARC_SCHEMA_IN_PROMPT — those arrive with PR #739, and will be documented in a follow-up PR once that merges. Signed-off-by: Vitaly Zabershinsky --- authbridge/sparc-service/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authbridge/sparc-service/README.md b/authbridge/sparc-service/README.md index bc3323df..a8905910 100644 --- a/authbridge/sparc-service/README.md +++ b/authbridge/sparc-service/README.md @@ -101,6 +101,8 @@ supports** works by setting the model string and (optionally) extra client kwarg | `OLLAMA_BASE_URL` | `http://localhost:11434` | ollama endpoint | | `OPENAI_API_KEY` / `OPENAI_BASE_URL` | — | openai creds (LiteLLM also reads provider keys from env: `OPENAI_API_KEY`, `AZURE_API_KEY`, `ANTHROPIC_API_KEY`, …) | | `HOST` / `PORT` | `0.0.0.0` / `8090` | bind address | +| `SPARC_LOG_REQUESTS` | `false` | When `true`, log every incoming `/reflect` request (including tool arguments) at INFO. Off by default because arguments can carry PII, payment ids, and other payload data. | +| `SPARC_STRIP_TOOL_ARG_KEYS` | — | Comma-separated argument keys to remove from every `tool_calls[].function.arguments` object before SPARC evaluates the call, e.g. `SPARC_STRIP_TOOL_ARG_KEYS=session_id,request_id`. Useful when an agent injects keys that aren't in the tool spec, which would otherwise make SPARC reject the call. | ### Provider examples