Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

接口对象结构

概述

interface 对象允许对应用程序内的各种用户界面元素进行自定义,包括菜单、面板和链接等组件的可见性和行为设置。本节详细介绍了 interface 对象的结构。

这些是 interface 下的字段:

  • mcpServers
  • privacyPolicy
  • termsOfService
  • modelSelect
  • parameters
  • contextUsage
  • contextCost
  • currency
  • presets
  • prompts
  • bookmarks
  • memories
  • multiConvo
  • agents
  • remoteAgents
  • skills
  • sharedLinks
  • temporaryChat
  • temporaryChatRetention
  • retentionMode
  • retainAgentFiles
  • autoSubmitFromUrl
  • customWelcome
  • runCode
  • webSearch
  • fileSearch
  • fileCitations
  • defaultPinnedTools
  • peoplePicker
  • marketplace

注意:

  • interface 配置在应用程序中全局应用。
  • 大多数设置都提供了默认值,但可以根据特定需求或条件进行覆盖。
  • 应用程序中的条件逻辑可以根据 Model Specs 等其他配置进一步修改这些设置。

已弃用:权限副作用字段

以下几个字段(mcpServerspromptsbookmarksmemoriesmultiConvoagentsremoteAgentsskillssharedLinkstemporaryChatrunCodewebSearchfileSearchfileCitationspeoplePickermarketplace)不仅用于切换 UI,它们还在启动时为内置的 USER 角色在数据库中植入角色权限。

对于日常管理,请使用 LibreChat Admin Panel,它可直接编辑每个角色(包括自定义角色)的权限矩阵。这些 YAML 字段仍然支持用于引导全新的实例或完全由文件驱动的部署,但不应再作为管理功能权限的主要方式。

请参阅 Access Control 以了解完整的权限模型。

示例

interface:
  mcpServers:
    placeholder: 'MCP Servers'
    use: true
    create: true
    share: false
    public: false
    configureObo: false
    trustCheckbox:
      label: 'I trust this server'
      subLabel: 'Only enable servers you trust'
  privacyPolicy:
    externalUrl: 'https://example.com/privacy'
    openNewTab: true
  termsOfService:
    externalUrl: 'https://example.com/terms'
    openNewTab: true
    modalAcceptance: true
    modalTitle: 'Terms of Service'
    modalContent: |
      # Terms of Service
      ## Introduction
      Welcome to LibreChat!
  modelSelect: false
  parameters: true
  contextUsage: true
  contextCost: true
  currency:
    code: EUR
    rate: 0.92
  presets: false
  prompts:
    use: true
    create: true
    share: true
    public: false
  bookmarks: true
  multiConvo: true
  agents:
    use: true
    create: true
    share: true
    public: false
  skills:
    use: true
    create: true
    share: false
    public: false
    defaultActiveOnShare: false
  sharedLinks:
    create: true
    share: true
    public: false
    snapshotFiles: true
  customWelcome: 'Hey {{user.name}}! Welcome to LibreChat'
  runCode: true
  webSearch: true
  fileSearch: true
  fileCitations: true
  defaultPinnedTools:
    - artifacts
    - execute_code
    - mcp

mcpServers

已弃用,建议使用权限管理功能。 usecreatesharepublic 子键用于在启动时植入角色权限。建议优先使用 Admin Panel 来管理每个角色/组/用户的 MCP 服务器权限。placeholdertrustCheckbox 子键不受影响。

密钥:

KeyTypeDescriptionExample
mcpServersObject包含与 MCP (Model Context Protocol) 服务器选择界面及访问控制相关的设置。Allows for customization of the placeholder text, user permissions, and trust checkbox labels.

子键:

KeyTypeDescriptionExample
placeholderString当未选择任何服务器时,MCP 服务器选择下拉菜单中显示的占位文本。MCP Servers
useBoolean控制用户是否有权使用现有的 MCP 服务器。true
createBoolean控制用户是否有权限创建新的 MCP 服务器。true
shareBoolean控制用户是否有权限与其他用户共享 MCP 服务器。false
publicBoolean控制用户是否可以公开共享 MCP 服务器(对所有用户可见)。false
configureOboBoolean控制用户是否有权限配置 MCP 服务器的代表(On-Behalf-Of)令牌交换。false
trustCheckboxObjectMCP 服务器对话框中信任复选框的可自定义标签。支持简单字符串或用于国际化的语言键值对象。See below

trustCheckbox 子键:

KeyTypeDescriptionExample
labelString or Object信任复选框的主标签。可以是简单的字符串,也可以是包含语言键的对象(例如:{ en: "I trust this server", es: "Confío en este servidor" })。
subLabelString or Object信任复选框的子标签(帮助文本)。可以是简单的字符串,也可以是用于国际化的语言键值对象。

示例:

interface:
  mcpServers:
    placeholder: 'Select MCP Server'
    use: true
    create: true
    share: false
    configureObo: false
    trustCheckbox:
      label:
        en: 'I trust this server'
        es: 'Confío en este servidor'
      subLabel:
        en: 'Only enable servers you trust'
        es: 'Solo habilite servidores en los que confíe'

privacyPolicy

密钥:

KeyTypeDescriptionExample
privacyPolicyObject包含与用户界面中提供的隐私政策链接相关的设置。Allows for the specification of a custom URL and the option to open it in a new tab.

子键:

KeyTypeDescriptionExample
externalUrlString (URL)指向隐私政策文档的 URL。
openNewTabBoolean指定链接是否应在在新标签页中打开。

termsOfService

密钥:

KeyTypeDescriptionExample
termsOfServiceObject包含与用户界面中提供的服务条款链接相关的设置。Allows for the specification of a custom URL and the option to open it in a new tab, as well as a modal acceptance dialog for the terms of service.

子键:

KeyTypeDescriptionExample
externalUrlString (URL)指向服务条款文档的 URL。https://librechat.ai/tos
openNewTabBoolean指定链接是否应在在新标签页中打开。true
modalAcceptanceBoolean指定是否显示一个条款和条件模态对话框,要求用户接受后方可使用 LibreChat。true
modalTitleString为模态条款和条件对话框指定自定义标题(可选)。Terms of Service
modalContentString指定模态条款和条件对话框的内容,格式为 MarkDown。See librechat.yaml.example for how to correctly format the multi-line parameter.

modelSelect

密钥:

KeyTypeDescriptionExample
modelSelectBoolean确定 UI 中是否提供模型选择功能。Enabling this feature allows users to select different models directly from the interface.

默认值: true

注意:

  • 如果使用 modelSpecs.addedEndpoints,则此项必须设置为 true
  • 如果使用了 modelSpecs.addedEndpoints 且未明确设置 interface.modelSelect,则默认值为 true

示例:

interface:
  modelSelect: true

parameters

密钥:

KeyTypeDescriptionExample
parametersBoolean切换界面中参数配置选项的可见性。This setting is crucial for users who need to adjust parameters for specific functionalities within the application.

默认值: true

示例:

interface:
  parameters: false

contextUsage

密钥:

KeyTypeDescriptionExample
contextUsageBoolean在对话界面中显示或隐藏实时上下文窗口和令牌使用量仪表。When disabled, users will not see the context usage indicator for chats.

默认值: true

示例:

interface:
  contextUsage: true

contextCost

密钥:

KeyTypeDescriptionExample
contextCostBoolean在上下文和令牌使用详情中显示或隐藏成本数值。When disabled, users can still see token usage if contextUsage is enabled, but cost values are hidden.

默认值: false

注意:

  • 设置 contextCost: true 以启用可见的成本数值。Token 使用量可以通过 contextUsage 保持可见,同时隐藏成本数值。
  • currency 仅在启用成本显示时影响显示的费用。

示例:

interface:
  contextCost: true

currency

密钥:

KeyTypeDescriptionExample
currencyObject使用静态汇率将显示的用量成本从美元转换为其他货币。Set code to the display currency and rate to a positive conversion multiplier from USD.

子键:

KeyTypeDescriptionExample
codeString在用量/成本显示中显示的货币代码。USD
rateNumber应用于美元使用成本的正乘数。1

示例:

interface:
  currency:
    code: EUR
    rate: 0.92

presets

密钥:

KeyTypeDescriptionExample
presetsBoolean启用或禁用应用程序 UI 中预设的使用。Presets can simplify user interactions by providing pre-configured settings or operations, enhancing user experience and efficiency.

默认值: true

示例:

interface:
  presets: true

prompts

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 PROMPTS 角色权限。建议优先使用 Admin Panel 来管理各角色/组/用户的提示词权限。

密钥:

KeyTypeDescriptionExample
promptsBoolean or Object控制所有用户的提示词相关功能。可以是用于简单启用/禁用的布尔值,也可以是用于精细控制使用、创建、共享和公开可见性的对象。When set to `false`, users will not have access to create, edit, or use custom prompts.

默认值: true

重要:布尔值与对象配置的区别

  • 布尔值 (prompts: true):仅更新 use 权限。现有的 createsharepublic 权限值将从数据库中保留。将其用作简单的功能开关,而不会影响通过管理面板配置的其他设置。

  • Object: 仅更新明确指定的子权限。配置中未包含的任何权限都将从数据库中保留。

当使用对象结构时:

子键:

KeyTypeDescriptionExample
useBoolean控制用户是否可以使用提示词。true
createBoolean控制用户是否可以创建新的提示词。true
shareBoolean控制用户是否可以与特定用户/群组共享提示词。false
publicBoolean控制用户是否可以公开分享提示词(对所有用户可见)。false

示例(布尔值 - 简单功能开关):

interface:
  prompts: true # Only updates USE; create/share/public remain unchanged

示例(对象 - 细粒度控制):

interface:
  prompts:
    use: true
    create: false # Disable creation while allowing use
    # share and public not specified - preserves existing values

示例(对象 - 完全控制):

interface:
  prompts:
    use: true
    create: true
    share: true
    public: false

bookmarks

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 BOOKMARKS 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
bookmarksBoolean启用或禁用所有用户的所有书签相关功能。When disabled, users will not be able to create, manage, or access bookmarks within the application.

默认值: true

示例:

interface:
  bookmarks: true

memories

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 MEMORIES 角色权限。建议优先使用 Admin Panel。请注意,此开关与 memory 行为配置是分开的。

密钥:

KeyTypeDescriptionExample
memoriesBoolean在界面中为所有用户启用或禁用记忆功能。When disabled, users will not have access to the memories panel or memory-related features.

默认值: true

注意: 此设置控制界面中记忆功能的可见性。有关记忆行为的详细配置(令牌限制、个性化、智能体设置),请参阅 Memory Configuration

示例:

interface:
  memories: true

multiConvo

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 MULTI_CONVO 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
multiConvoBoolean为所有用户启用或禁用所有“multiConvo”(即多重响应流)相关功能。When disabled, users will not be able to stream responses from 2 AI models at the same time.

默认值: true

示例:

interface:
  multiConvo: true

agents

更多关于 Agents 的信息

已弃用,建议使用权限管理功能。 仅在启动时为默认的 USER 角色植入 AGENTS 角色权限。建议优先使用 Admin Panel 来管理针对不同角色/组/用户的智能体权限。

密钥:

KeyTypeDescriptionExample
agentsBoolean or Object控制所有用户的代理相关功能。可以是用于简单启用/禁用的布尔值,也可以是用于对使用、创建、共享和公开可见性进行精细控制的对象。When set to `false`, users will not have access to agents.

默认值: true

重要:布尔值与对象配置的区别

  • Boolean (agents: true): 仅更新 use 权限。现有的 createsharepublic 权限值将从数据库中保留。将其用作简单的功能开关,而不会影响通过管理面板配置的其他设置。

  • Object: 仅更新明确指定的子权限。配置中未包含的任何权限都将从数据库中保留。

当使用对象结构时:

子键:

KeyTypeDescriptionExample
useBoolean控制用户是否可以使用智能体。true
createBoolean控制用户是否可以创建新的 Agent。true
shareBoolean控制用户是否可以与特定用户/群组共享 Agent。false
publicBoolean控制用户是否可以将智能体公开分享(对所有用户可见)。false

示例(布尔值 - 简单功能开关):

interface:
  agents: true # Only updates USE; create/share/public remain unchanged

示例(对象 - 细粒度控制):

interface:
  agents:
    use: true
    create: false # Disable creation while allowing use
    # share and public not specified - preserves existing values

示例(对象 - 完全控制):

interface:
  agents:
    use: true
    create: true
    share: true
    public: false

remoteAgents

控制对 Agents API(兼容 OpenAI 和 Open Responses API 端点)的访问,该 API 允许外部应用程序通过 API 密钥以编程方式与 LibreChat 智能体进行交互。

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 REMOTE_AGENTS 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
remoteAgentsObject远程代理 API 访问控制配置。所有字段默认值为 `false`。

子键:

KeyTypeDescriptionExample
useBoolean控制用户是否可以访问远程 agents API。false
createBoolean控制用户是否可以为远程代理创建 API 密钥。false
shareBoolean控制用户是否可以共享远程 agent。false
publicBoolean控制用户是否可以公开分享远程 Agent。false

默认值: 所有字段默认为 false(禁用)。

示例:

interface:
  remoteAgents:
    use: true
    create: true
    share: false
    public: false

注意: 无论此配置如何,管理员用户默认拥有所有远程代理权限。

skills

已弃用,建议使用权限管理。 仅在启动时为默认 USER 角色植入 SKILLS 角色权限。建议优先使用 Admin Panel 来管理各角色/组/用户的 Skills 权限。defaultActiveOnShare 并非权限位,仍作为 YAML 行为设置保留。

密钥:

KeyTypeDescriptionExample
skillsBoolean or Object控制与 Skills 相关的权限以及共享技能的激活默认值。可以是用于简单启用/禁用的布尔值,也可以是用于精细控制的对象。When set to `false`, users cannot use, create, or share Skills.

默认值: usecreatetruesharepublicdefaultActiveOnSharefalse

子键:

KeyTypeDescriptionExample
useBoolean控制用户是否可以使用 Skills。true
createBoolean控制用户是否可以创建 Skills。true
shareBoolean控制用户是否可以与特定用户/组共享 Skills。false
publicBoolean控制用户是否可以将 Skills 公开共享(对所有用户可见)。false
defaultActiveOnShareBoolean控制共享的 Skills 是否默认对接收者处于激活状态,直到他们覆盖该设置。false

示例:

interface:
  skills:
    use: true
    create: true
    share: false
    public: false
    defaultActiveOnShare: false

有关 Skills 行为和调用模式,请参阅 Skills

已弃用,建议使用权限管理功能。 仅在启动时为默认 USER 角色植入 SHARED_LINKS 角色权限。建议优先使用 Admin Panel 来管理各角色/组/用户的共享链接权限。

密钥:

KeyTypeDescriptionExample
sharedLinksBoolean or Object控制共享链接权限。可以是用于启用/禁用所有共享链接权限的布尔值,也可以是用于精细控制创建/共享/公开权限的对象。When set to `false`, users cannot create or share conversation links.

默认值: create: true, share: true, public: true

重要:布尔值与对象配置的区别

  • Boolean (sharedLinks: true): 为默认的 USER 角色启用所有 SHARED_LINKS 权限。
  • Boolean (sharedLinks: false): 禁用默认 USER 角色的所有 SHARED_LINKS 权限。
  • Object: 仅更新明确指定的子权限。配置中未包含的任何权限都将从数据库中保留。

子键:

KeyTypeDescriptionExample
createBoolean控制用户是否可以创建共享对话链接。true
shareBoolean控制用户是否可以与已认证用户共享链接。true
publicBoolean控制用户是否可以为共享链接切换“与所有人共享”功能。匿名查看仍需设置 ALLOW_SHARED_LINKS_PUBLIC=true。true
snapshotFilesBoolean控制新创建的共享链接是否可以快照引用的对话文件,以便接收者可以通过链接预览或下载它们。true

示例:

interface:
  sharedLinks:
    create: true
    share: true
    public: false
    snapshotFiles: true

关于面向用户的共享链接行为,请参阅 Shareable Links

temporaryChat

控制临时聊天功能是否对用户可用。临时聊天不会保存到对话历史记录中,并会在可配置的保留期后自动删除。

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 TEMPORARY_CHAT 角色权限。建议优先使用 Admin Panel。下方的 temporaryChatRetention 并非权限设置,仍是配置保留策略的推荐方式。

密钥:

KeyTypeDescriptionExample
temporaryChatBoolean启用或禁用临时聊天功能。When set to `false`, users will not see the option to start temporary chats.

默认值: true

注意: 临时对话的保留期限可以通过 temporaryChatRetention 进行配置。

示例:

interface:
  temporaryChat: true

temporaryChatRetention

temporaryChatRetention 配置允许您自定义临时聊天记录在被自动删除前保留的时长。

密钥:

KeyTypeDescriptionExample
temporaryChatRetentionNumber设置临时对话的保留时长(以小时为单位)。temporaryChatRetention: 168

验证规则:

  • 最小值:1 小时(防止立即删除)
  • 最大值:8760 小时(最长保留 1 年)
  • 默认值:720 小时(30 天)

配置方法:

  1. LibreChat.yaml(推荐):interface.temporaryChatRetention: 168
  2. 环境变量 (已弃用): TEMP_CHAT_RETENTION_HOURS=168

注意: 环境变量 TEMP_CHAT_RETENTION_HOURS 已弃用。请改用 librechat.yaml 中的 interface.temporaryChatRetention 配置选项。配置文件中的值优先级高于环境变量。

示例:

interface:
  temporaryChatRetention: 168 # Retain temporary chats for 7 days
  retentionMode: 'temporary'

常见保留期限:

  • 1 小时: temporaryChatRetention: 1 (最小保留时间)
  • 24 小时: temporaryChatRetention: 24 (1 天)
  • 168 小时: temporaryChatRetention: 168 (1 周)
  • 720 小时: temporaryChatRetention: 720 (30 天 - 默认值)
  • 8760 小时: temporaryChatRetention: 8760 (1 年 - 最大值)

retentionMode

控制哪些数据接收保留期限。

密钥:

KeyTypeDescriptionExample
retentionModeString设置为 "temporary" 仅对临时聊天应用保留策略,或设置为 "all" 对所有支持的保留数据应用策略,包括持久化智能体资源文件(除非 retainAgentFiles 为 true)。retentionMode: "temporary"

默认值: temporary

retentionMode: "all" 会将保留期限应用于临时聊天之外的内容,包括持久化智能体资源文件,除非配置了 retainAgentFiles: true。在启用此策略前,请务必确认您的保留策略。

示例:

interface:
  temporaryChatRetention: 168
  retentionMode: 'all'

retainAgentFiles

控制持久化智能体资源文件是否免于全量数据保留。

密钥:

KeyTypeDescriptionExample
retainAgentFilesBoolean当设置为 true 时,持久化智能体资源文件在 retentionMode: "all" 下不会过期。非智能体文件和消息附件仍会过期。retainAgentFiles: false

默认值: false

注意:

  • 此设置仅在 retentionMode 设置为 "all" 时才会改变行为。
  • 当代理应在对话、消息和非代理文件受到保留期限限制时仍保留其持久化资源文件时,请将此项设置为 true

示例:

interface:
  temporaryChatRetention: 168
  retentionMode: 'all'
  retainAgentFiles: true

autoSubmitFromUrl

控制通过 /c/new 的 URL 查询参数提供的提示词是否自动提交给模型。

当已通过身份验证的用户打开 /c/new?prompt=…&submit=true 时,LibreChat 通常会使用 URL 中提供的提示词预填充输入框并立即提交。这是为精心设计的深度链接和共享聊天 URL 提供的一项便捷功能。

对于用户可能从外部来源接收到精心构造的链接,且启用记忆或工具的模型在提示词注入负载到达模型时可能泄露敏感上下文的部署场景,管理员可以禁用自动提交。将此标志设置为 false 后,提示词仍会预填在输入框中,但用户必须显式点击 发送 按钮。

密钥:

KeyTypeDescriptionExample
autoSubmitFromUrlBoolean控制 `/c/new?prompt=…&submit=true` 是否自动提交给模型。When `false`, the prompt is pre-filled in the composer but not submitted.

默认值: true(除非明确禁用,否则保留现有行为)。

注意:

  • 此设置不会影响基于 URL 的 Model Specs 选择或其他基于 URL 的设置,仅影响自动提交步骤。
  • 查询参数同时接受 promptq 作为提示词来源,其中 prompt 具有优先权。submit=true 为触发条件。
  • 推荐用于处理敏感记忆或工具数据的实例,在这种情况下,一键式提示词注入向量应需要用户明确确认。

示例:

interface:
  autoSubmitFromUrl: false

customWelcome

密钥:

KeyTypeDescriptionExample
customWelcomeString允许管理员为聊天界面定义自定义欢迎消息,并可选择使用 {{user.name}} 参数进行个性化设置。

默认值: 无(如果未指定,则使用默认问候语)

示例:

interface:
  customWelcome: 'Hey {{user.name}}! Welcome to LibreChat'

注意: 您可以在 customWelcome 消息中使用 {{user.name}} 来动态插入用户的姓名,从而实现个性化的问候体验。

runCode

启用/禁用 Markdown 代码块的“运行代码”按钮。更多信息请参阅 LibreChat Code Interpreter API

注意: 此设置不会禁用 Agents Code Interpreter Capability。若要禁用 Agents 功能,请参阅 Agents Endpoint configuration

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 RUN_CODE 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
runCodeBoolean启用或禁用 Markdown 代码块的“运行代码”按钮。

默认值: true

示例:

interface:
  runCode: true

webSearch

在聊天界面中启用/禁用网页搜索按钮。更多信息请参阅 网页搜索配置

注意: 此设置不会禁用 Agents Web Search Capability。若要禁用 Agents 功能,请参阅 Agents Endpoint configuration

已弃用,建议使用权限管理。 仅在启动时为默认 USER 角色植入 WEB_SEARCH 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
webSearchBoolean在聊天界面中启用或禁用网页搜索按钮。

默认值: true

示例:

interface:
  webSearch: true

fileSearch

在聊天界面中启用/禁用文件搜索(用于通过工具使用 RAG API)按钮

注意: 此设置不会禁用 Agents File Search Capability。若要禁用 Agents 功能,请参阅 Agents Endpoint configuration

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 FILE_SEARCH 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
fileSearchBoolean启用或禁用聊天界面中的文件搜索按钮。

默认值: true

示例:

interface:
  fileSearch: true

fileCitations

控制文件引用功能的全局可用性。禁用时,它实际上会移除所有用户的 FILE_CITATIONS 权限,从而防止在使用文件搜索时显示任何文件引用,无论个人用户权限如何。

已弃用,建议使用权限管理。 在启动时为 FILE_CITATIONS 角色权限设置种子/全局门控。建议优先使用 Admin Panel 来管理针对角色/组/用户的引用权限。

注意:

  • 此设置充当系统范围内 FILE_CITATIONS 权限的全局开关。
  • 当设置为 false 时,即使已通过角色授予权限,所有用户也都将无法看到文件引用。
  • 文件引用功能需要启用 fileSearch 特性。
  • 当使用具有文件搜索功能的 Agent 时,可以通过 Agents endpoint configuration 来配置引用行为(数量和质量)。

密钥:

KeyTypeDescriptionExample
fileCitationsBoolean全局启用或禁用所有用户的 FILE_CITATIONS 权限,从而控制文件搜索结果是否可以包含来源引用。

默认值: true

示例:

interface:
  fileCitations: true

defaultPinnedTools

为尚未自定义固定工具状态的用户设定初始提示词栏固定工具。一旦用户固定或取消固定某个工具,LibreChat 将会保留该用户的选择。

密钥:

KeyTypeDescriptionExample
defaultPinnedToolsArray of strings应在提示词栏中为新用户或未自定义用户默认置顶的工具密钥和 MCP 下拉菜单/服务器名称。When omitted, built-in tools start unpinned and the MCP dropdown keeps its default pinned state.

支持的值:

  • 内置工具密钥:artifactsexecute_codeweb_searchfile_searchskills
  • mcp 以固定 MCP 服务器下拉菜单
  • 一个特定的 MCP 服务器名称,用于将该服务器固定为已置顶状态

示例:

interface:
  defaultPinnedTools:
    - artifacts
    - execute_code
    - mcp

peoplePicker

控制在人员选择器界面中可供选择的主体类型(用户、组、角色),通常用于共享 Agent 或管理访问控制时。

已弃用,建议使用权限管理。 仅在启动时为默认 USER 角色植入 PEOPLE_PICKER 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
peoplePickerObject配置人员选择器界面中可用的主体类型。

子键:

KeyTypeDescriptionExample
usersBoolean在人员选择器中启用用户搜索。默认值:true
groupsBoolean在人员选择器中启用群组搜索。默认值:true
rolesBoolean在人员选择器中启用角色搜索。默认值:true

默认:

peoplePicker:
  users: true
  groups: true
  roles: true

示例:

interface:
  peoplePicker:
    users: true
    groups: true
    roles: false # Disable role selection in people picker

marketplace

启用/禁用对 Agent Marketplace 的访问。

已弃用,建议使用权限管理。 仅在启动时为默认的 USER 角色植入 MARKETPLACE 角色权限。建议优先使用 Admin Panel

密钥:

KeyTypeDescriptionExample
marketplaceObject用于 Agent Marketplace 访问控制的配置。

子键:

KeyTypeDescriptionExample
useBoolean启用或禁用 marketplace 访问。默认值:false

默认:

marketplace:
  use: false

示例:

interface:
  marketplace:
    use: true # Enable marketplace access

这篇指南怎么样?