feat: hide the MCP server card when NEXT_PUBLIC_SELFHOSTED is true (#711)

The welcome title and the Quick examples heading stay.
This commit is contained in:
Bryon Nevis
2026-10-06 08:38:33 +09:00
committed by GitHub
parent 6e77b08eb3
commit 38b72e89b6
2 changed files with 25 additions and 21 deletions
+1
View File
@@ -168,6 +168,7 @@ AI_MODEL=global.anthropic.claude-sonnet-4-5-20250929-v1:0
# which triggers the client UI to display messages suggesting self-hosting or sponsorship.
# This switch allows self-hosted users to provide custom messages in response to a 429 code,
# in messageTokenSelfHosted, messageApiSelfHosted, and tipSelfHosted translation strings.
# It also turns off the MCP server advertisement in the chat examples.
# NEXT_PUBLIC_SELFHOSTED=true
# Minimax Configuration (Optional)