Skip to content

Commit 8150ca5

Browse files
committed
state that only student files can be changed
1 parent 1febde8 commit 8150ca5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ai_tutor.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ def get_the_question(
137137
def get_initial_instruction(questions:List[str],language:str) -> str:
138138
# Add the main directive or instruction based on whether there are failed tests
139139
if questions:
140-
initial_instruction = get_directive(language)
140+
initial_instruction = (
141+
get_directive(language) + '\n' +
142+
'Please understand that only student files can be changed.'
143+
)
141144
else:
142145
initial_instruction = f'In {language}, please comment on the student code given the assignment instruction.'
143146
return initial_instruction

0 commit comments

Comments
 (0)