You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(config): Make the gatekeeper model more configurable (#465)
Move the gatekeeper configuration into a nested member off
our config object, so LINUX_MCP_GATEKEEPER_MODEL becomes
LINUX_MCP_GATEKEEPER__MODEL (LINUX_MCP_GATEKEEPER_MODEL
is supported as a deprecated alias.)
Add controls for:
reasoning_effort: turn off or down reasoning often make models
perform better for us.
structured_output: e.g. for gemma-4-31b-it, turning off
response_format is needed to keep the model from going into
infinite looop.
temperature: Anthropc models need a non-zero temperature to
enable reasoning.
quantization: OpenRouter mixes together models with different
quantization in a single model name - specifying a specific
quantization is needed for clean benchmarking data.
template_kwarg: Set model-specific values in the chat template -
e.g. `{"enable_thinking": false}` is useful for llama.cpp.
Copy file name to clipboardExpand all lines: docs/config-reference.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,10 +56,15 @@ See [Guarded Command Execution](guarded-command-execution.md) for details on the
56
56
These are used when `LINUX_MCP_TOOLSET` is set to `run_script` or `both`.
57
57
58
58
| Option / Env Var | Default | Description |
59
-
|------------------|---------|-------------|
60
-
|`--gatekeeper-model`<br>`LINUX_MCP_GATEKEEPER_MODEL`|*(none)*| Required: [LiteLLM model name](https://docs.litellm.ai/docs/providers) to use |
59
+
| ---------------- | ------- | ----------- |
61
60
|`--always-confirm-scripts` / `--no-always-confirm-scripts`<br>`LINUX_MCP_ALWAYS_CONFIRM_SCRIPTS`|`False`| All scripts must be confirmed by the user |
62
-
| Other environment variables |*(none)*| As required by the LiteLLM provider, e.g. `OPENAI_API_KEY`|
61
+
|`--gatekeeper.model`<br>`LINUX_MCP_GATEKEEPER__MODEL`|_(none)_| Required: [LiteLLM model name](https://docs.litellm.ai/docs/providers) to use |
62
+
|`--gatekeeper.quantization`<br>`LINUX_MCP_GATEKEEPER__QUANTIZATION`|_(model specific)_|_Not usually needed_ - Particular model quantization to use (openrouter only) |
63
+
|`--gatekeeper.reasoning_effort`<br>`LINUX_MCP_GATEKEEPER__REASONING_EFFORT`|_(model specific)_| Reasoning effort to use for gatekeeper model (`none`, `minimal`, `low`, `medium`, `high`, `xhigh`). Not all values are supported for all models. |
64
+
|`--gatekeeper.structured_output`<br>`LINUX_MCP_GATEKEEPER__STRUCTURED_OUTPUT`|_(autodetected)_|_Not usually needed_ - Whether to use structured output generation for the model. Default is to use if detected as available. |
65
+
|`--gatekeeper.temperature`<br>`LINUX_MCP_GATEKEEPER__TEMPERATURE`| 0.0 |_Not usually needed_ - Temperature to use for model - for some models, a non-zero value may be necessary when enabling reasoning. |
66
+
|`--gatekeeper.template_kwargs`<br>`LINUX_MCP_GATEKEEPER__TEMPLATE_KWARGS`|_(none)_|_Not usually needed_ - Extra arguments for the model's chat template, formatted as a JSON string. Example: `{ "enable_thinking": false }`|
67
+
| Other environment variables |_(none)_| As required by the LiteLLM provider, e.g. `OPENAI_API_KEY`|
0 commit comments