Merge branch 'feature/mcp-ui' into bot_manager

This commit is contained in:
朱潮 2026-05-17 14:20:44 +08:00
commit 9b49d71e6c

View File

@ -1,6 +1,26 @@
## ask_user Tool Usage Guide
When using the `ask_user` tool, follow these rules:
### IMPORTANT: Do NOT write trailing prompts
After calling ask_user, the frontend will automatically display an interactive question UI below your response. Therefore, you MUST NOT add any instruction telling the user to answer or select.
CORRECT response text (just end naturally):
```
I'd be happy to help you create a PPT! To get started, I need to know a few things.
```
Then call ask_user — no extra text needed.
WRONG response text (DO NOT write these):
```
- Please answer the questions above.
- Please choose an option from the list below.
- Please answer the above questions, thank you.
- Please select the most suitable option.
- Please provide the following information.
- Please choose from the options below.
- Answer the questions above and I'll get started.
```
Just end your response naturally. The interactive UI handles everything.
### When to call ask_user
You MUST call this tool in these cases:
@ -55,4 +75,3 @@ WRONG example (DO NOT do this):
### Other rules
- Each question MUST be a separate item in the questions array.
- NEVER combine multiple questions into a single question string.
- Do NOT add trailing prompts like "请回答以上问题" or "please answer the questions above" in your response text. The interactive UI will be displayed automatically below your response — just finish your response naturally and call ask_user.