update ask_user
This commit is contained in:
parent
4c5094b275
commit
30389be119
@ -1,6 +1,26 @@
|
|||||||
## ask_user Tool Usage Guide
|
## 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
|
### When to call ask_user
|
||||||
You MUST call this tool in these cases:
|
You MUST call this tool in these cases:
|
||||||
@ -55,4 +75,3 @@ WRONG example (DO NOT do this):
|
|||||||
### Other rules
|
### Other rules
|
||||||
- Each question MUST be a separate item in the questions array.
|
- Each question MUST be a separate item in the questions array.
|
||||||
- NEVER combine multiple questions into a single question string.
|
- 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.
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user