feat: add user prompt functionality to agent for clarification questions in README files

This commit is contained in:
X-iZhang
2026-03-11 00:34:37 +00:00
parent 28d8b334c7
commit 7784afa12b
2 changed files with 30 additions and 0 deletions
+15
View File
@@ -251,6 +251,21 @@ During a session you can also reply **3** (Approve all) at any approval prompt t
</details>
<details>
<summary>Agent Questions (Ask User)</summary>
The agent can proactively ask you questions when it needs clarification (e.g., dataset choice, experiment direction). This is enabled by default. To disable:
```bash
# Persistent: set in config
EvoSci config set enable_ask_user false
# Re-enable
EvoSci config set enable_ask_user true
```
</details>
<details>
<summary>In-session commands</summary>
+15
View File
@@ -262,6 +262,21 @@ EvoSci config set shell_allow_list "python,pip,pytest,ruff,git"
</details>
<details>
<summary>智能体提问(Ask User)</summary>
智能体可以在需要澄清时主动向你提问(例如数据集选择、实验方向等)。此功能默认开启。关闭方式:
```bash
# 持久化:写入配置
EvoSci config set enable_ask_user false
# 重新开启
EvoSci config set enable_ask_user true
```
</details>
<details>
<summary>会话内命令</summary>