zai-org / zai-org/feedback

[Bug] AskUserQuestion 用户已提交选择,但界面显示「未提供回答」

Open
#668 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

提交前确认 · Pre-submission checklist
  • 我已搜索过现有 issue,确认这不是重复 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.
问题类别 · Category

UI / 界面体验 · UI / UX

涉及的 Agent 框架 · Agent framework

ZCode Agent(自研)

严重程度 · Severity

影响体验 · Major (功能可用但体验受损 / works but degraded)

复现频率 · Reproducibility

必现 · Always(本环境 2/2 复现)

问题描述 · Description

Agent 在会话中调用 AskUserQuestion 工具向用户提问(两个单选问题),用户在客户端界面正常点选选项并提交。Agent 侧的工具结果中实际收到了用户完整的回答(两次提问收到的内容一致且合理,说明选择数据已成功传输回 Agent),但用户客户端界面上却显示「未提供回答」,让用户误以为选择没有提交成功。属于 UI 状态展示与实际数据不一致的 bug。

复现步骤 · Steps to reproduce
  1. Agent 在会话中调用 AskUserQuestion 工具,提出两个单选问题
  2. 用户在客户端界面上正常点选选项并提交
  3. 观察 Agent 侧的 AskUserQuestion 工具结果:已收到用户选择的完整内容(两次内容一致、合理)
  4. 观察用户客户端界面:显示「未提供回答」

本会话中连续两次提问均出现同样现象,最终只能改用聊天纯文本确认。

期望表现 · Expected behavior

用户提交选择后,界面应显示所选选项内容或提交成功的确认状态,与 Agent 实际收到的数据保持一致。

实际表现 · Actual behavior

选择数据已成功传输给 Agent(工具结果中能看到完整回答),但客户端界面显示「未提供回答」,UI 状态与实际传输的数据不一致。

ZCode 版本 · ZCode version

3.11.2(build 6792,Windows 桌面客户端)

设备 / 系统 / 浏览器 · Device / OS / Browser

Windows 11(OS 版本 10.0.26200 x64)/ ZCode 桌面客户端
会话 ID:sess_43f48676-a3b4-4608-9ba3-bde613918113(2026-09-16)
复现次数:2/2

临时绕过方案

改用聊天纯文本让用户直接回复确认,绕过 AskUserQuestion 的 UI 状态展示问题。

截图 / 录屏 / 日志 · Screenshots / Recordings / Logs

暂无截图;如需可提供对应会话(sess_43f48676-a3b4-4608-9ba3-bde613918113)的本地日志。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Windows desktop client with the AskUserQuestion flow described in the steps, then inspect the local logs for session sess_43f48676-a3b4-4608-9ba3-bde613918113. Compare the submitted selections with the UI state that renders “No answer provided.” Done means submitted choices or a success state are shown consistently with the result received by the Agent.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.