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
Copy file name to clipboardExpand all lines: docs/docs/configuration/environment-variables.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ The following environment variables allow you to configure your Sourcebot deploy
42
42
|`ALWAYS_INDEX_FILE_PATTERNS`| - | <p>A comma separated list of glob patterns matching file paths that should always be indexed, regardless of size or number of trigrams.</p> |
43
43
|`SOURCEBOT_CHAT_ATTACHMENT_MAX_IMAGE_BYTES`|`10485760` (10 MiB) | <p>Maximum size in bytes of a single image attachment uploaded to Ask Sourcebot. Enforced server-side at upload time.</p> |
44
44
|`SOURCEBOT_CHAT_ATTACHMENT_ORPHAN_TTL_HOURS`|`24`| <p>How long in hours an uploaded-but-unsent attachment is retained before being deleted by the orphan sweep. Set to `0` to disable the sweep.</p> |
45
+
|`SOURCEBOT_LLM_USER_EMAIL_HEADER_ENABLED`|`false`| <p>When enabled, Sourcebot sends the authenticated user's lower-cased email address to configured language model providers in the `X-Sourcebot-User-Email` request header. Anonymous and automated requests omit the header.</p> |
45
46
|`NODE_USE_ENV_PROXY`|`0`| <p>Enables Node.js to automatically use `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables for network requests. Set to `1` to enable or `0` to disable. See [this doc](https://nodejs.org/en/learn/http/enterprise-network-configuration) for more info.</p> |
46
47
|`HTTP_PROXY`| - | <p>HTTP proxy URL for routing non-SSL requests through a proxy server (e.g., `http://proxy.company.com:8080`). Requires `NODE_USE_ENV_PROXY=1`.</p> |
47
48
|`HTTPS_PROXY`| - | <p>HTTPS proxy URL for routing SSL requests through a proxy server (e.g., `http://proxy.company.com:8080`). Requires `NODE_USE_ENV_PROXY=1`.</p> |
@@ -71,4 +72,4 @@ The following environment variables allow you to configure your Sourcebot deploy
71
72
72
73
### Overriding environment variables from the config
73
74
74
-
You can override environment variables from the config file by using the `environmentOverrides` property. See [this doc](/docs/configuration/config-file#overriding-environment-variables-from-the-config) for more info.
75
+
You can override environment variables from the config file by using the `environmentOverrides` property. See [this doc](/docs/configuration/config-file#overriding-environment-variables-from-the-config) for more info.
0 commit comments