Skip to content

配置选项:隐藏 skill 工具调用返回的内容显示 #15427

Closed as not planned

Description

@FuDesign2008

问题描述

当模型调用 skill 工具加载 skill 内容时,完整的 skill 内容会显示在对话中。对于内容较长的 skill,这会使对话变得冗长,影响阅读体验。

建议的解决方案

添加一个配置选项,允许用户选择隐藏 skill 工具返回的内容(类似于已折叠的状态),只在需要时展开查看。

配置示例

{
  "tools": {
    "skill": {
      "display_content": false
    }
  }
}

或者在 tui.json 中:

{
  "hide_skill_content": true
}

替代方案

  1. 默认折叠 skill 内容,用户可点击展开
  2. 只显示 skill 名称和描述,而非完整内容
  3. 在 /details 命令中增加对 skill 内容的控制

使用场景

  • 使用较长的 skill(如工作流 skill)时,减少视觉干扰
  • 专注于对话内容而非 skill 定义
  • 节省屏幕空间

感谢考虑这个功能请求!

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 28, 2026
  2. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests must have a title starting with [FEATURE]: (current title: "配置选项:隐藏 skill 工具调用返回的内容显示")
    • Feature requests require a verification checkbox confirming the feature hasn't been suggested before

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Feb 28, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions