allow user-based generic prompt improval [sic] (#3965)

This commit is contained in:
Jonathan Dobson
2025-11-11 13:48:16 -05:00
committed by GitHub
parent 4cf6757d05
commit db480c3702
4 changed files with 137 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Original prompt:
```
{{ prompt }}
```
{% if context %}
Additional context about the user's needs:
```
{{ context }}
```
{% endif %}
Can you improve the original prompt for an AI browser agent?
Respond ONLY with valid JSON in this format with no additional text before or after it:
```json
{
"improved_prompt": str, // The improved version of the prompt
}
Ensure that the "improved_prompt" contains liberal whitespace tokens for formatting, clarity, and legibility.