> ## Documentation Index
> Fetch the complete documentation index at: https://cndoc-langchain.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 自定义错误支持消息

> 为自托管部署在 LangSmith 前端中自定义支持联系信息。

## 自定义错误支持消息

默认情况下，LangSmith 中的错误消息会引导用户联系 `support@langchain.dev`。您可以将其替换为您自己的支持联系信息。

设置后，整个用户界面中的所有错误和支持消息都将显示您的自定义文本，而不是默认的 LangChain 支持电子邮件。

<Note>
  自定义消息仅渲染为**纯文本**。HTML 标签不会被解释，将显示为字面文本。
</Note>

<CodeGroup>
  ```yaml Helm theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  config:
    customErrorSupportMessage: "如需帮助，请联系您的内部 IT 团队：helpdesk@example.com"
  ```

  ```yaml Docker Compose theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  services:
    langchain-frontend:
      environment:
        - CUSTOM_ERROR_SUPPORT_MESSAGE=如需帮助，请联系您的内部 IT 团队：helpdesk@example.com
  ```
</CodeGroup>

要恢复为默认行为，请移除该设置或将其设置为空字符串。

***

<div className="source-links">
  <Callout icon="terminal-2">
    [将这些文档](/use-these-docs)通过 MCP 连接到 Claude、VSCode 等，以获取实时答案。
  </Callout>

  <Callout icon="edit">
    [在 GitHub 上编辑此页面](https://github.com/langchain-ai/docs/edit/main/src/langsmith/self-host-ui-customization.mdx) 或 [提交问题](https://github.com/langchain-ai/docs/issues/new/choose)。
  </Callout>
</div>
