updated code prompt
Browse files
app.py
CHANGED
@@ -720,9 +720,10 @@ class CodeGeneratorAgent:
|
|
720 |
### **Summary**
|
721 |
|
722 |
- Repeat the "NEVER wrap dicts/lists in f-strings" rule.
|
723 |
-
- Give both *bad* and *good* code examples.
|
724 |
- Use all-caps or bold/emoji to make "NEVER" and "ALWAYS" pop out.
|
725 |
- Finish the prompt by *repeating* the most important style rule.
|
|
|
|
|
726 |
|
727 |
"""
|
728 |
|
|
|
720 |
### **Summary**
|
721 |
|
722 |
- Repeat the "NEVER wrap dicts/lists in f-strings" rule.
|
|
|
723 |
- Use all-caps or bold/emoji to make "NEVER" and "ALWAYS" pop out.
|
724 |
- Finish the prompt by *repeating* the most important style rule.
|
725 |
+
- Never include backticks or the word "python" in the response.
|
726 |
+
- Return only the actual code as a string without any additional text.
|
727 |
|
728 |
"""
|
729 |
|