Skip to content

Commit 6421d26

Browse files
committed
move student code before longrepr list
1 parent 1dee51a commit 6421d26

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ai_tutor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ def get_initial_instruction(questions:List[str],language:str) -> str:
138138

139139

140140
prompt_list = (
141-
# Add the initial instruction
141+
# Add the header
142142
[
143143
get_initial_instruction(pytest_longrepr_list, explanation_in),
144144
get_instruction_block(readme_file, explanation_in,),
145+
get_student_code_block(student_files, explanation_in,),
145146
]
146147
+ pytest_longrepr_list
147-
# Add the code and instructions
148+
# Add the footer
148149
+ [
149-
get_student_code_block(student_files, explanation_in,),
150150
]
151151
)
152152

0 commit comments

Comments
 (0)