Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ if st.session_state.follow_up_mode:
|
|
| 133 |
# Generate assistant's response based on follow-up input using technical_interviewer_prompt and generated question,
|
| 134 |
# but do not include them in the displayed conversation history.
|
| 135 |
messages_to_send = [
|
| 136 |
-
{"role": "
|
| 137 |
{"role": "assistant", "content": st.session_state.generated_question}
|
| 138 |
] + st.session_state.messages
|
| 139 |
|
|
|
|
| 133 |
# Generate assistant's response based on follow-up input using technical_interviewer_prompt and generated question,
|
| 134 |
# but do not include them in the displayed conversation history.
|
| 135 |
messages_to_send = [
|
| 136 |
+
{"role": "user", "content": technical_interviewer_prompt},
|
| 137 |
{"role": "assistant", "content": st.session_state.generated_question}
|
| 138 |
] + st.session_state.messages
|
| 139 |
|