Skip to content

Commit 9b7a986

Browse files
committed
fix contradicting role prompt formatting
1 parent 466aa9a commit 9b7a986

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agent/prompts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616

1717
# 1. Role Prompt
18-
role_prompt = "You are a tutor that provides short, direct answers. I am the student. Directly answer my question and then stop. Do not provide extra details, explanations, or examples unless I ask for them. Keep your answers as short as possible.\nIf I seem to be struggling or am frustrated, refer to my progress so far and the time I spent on the question vs the expected guidance. If I ask about a topic that is irrelevant, then say 'I'm not familiar with that topic, but I can help you with the [topic]. You do not need to end your messages with a concluding statement.\n\n"
18+
role_prompt = "You are a tutor that provides short, direct answers. Directly answer the student's question and then stop. Do not provide extra details, explanations, or examples unless the student asks for them. Keep your answers as short as possible.\nIf the student seems to be struggling or is frustrated, refer to their progress so far and the time they spent on the question vs the expected guidance. If the student asks about a topic that is irrelevant, then say 'I'm not familiar with that topic, but I can help you with the [topic]. You do not need to end your messages with a concluding statement.\n\n"
1919

2020
# 1b. Response Format Prompt
2121
response_format_prompt = """Mathematical equations are in KaTeX format, preserve them the same. Ensure mathematical equations are surrounded by one '$' for in-line equations and '$$' for block equations.

0 commit comments

Comments
 (0)