Spaces:
Sleeping
Sleeping
bill.py
CHANGED
@@ -159,7 +159,7 @@ def main():
|
|
159 |
# If the context prompt hasn't been added yet, build & inject it once;
|
160 |
# otherwise, just add the user's raw question.
|
161 |
if not st.session_state.context_prompt_added:
|
162 |
-
final_prompt = process_query(prompt, st.session_state["user_id"])
|
163 |
if final_prompt is None:
|
164 |
st.stop()
|
165 |
st.session_state["messages"].append({"role": "user", "content": final_prompt})
|
|
|
159 |
# If the context prompt hasn't been added yet, build & inject it once;
|
160 |
# otherwise, just add the user's raw question.
|
161 |
if not st.session_state.context_prompt_added:
|
162 |
+
final_prompt = process_query(prompt, st.session_state["user_id"], model_name)
|
163 |
if final_prompt is None:
|
164 |
st.stop()
|
165 |
st.session_state["messages"].append({"role": "user", "content": final_prompt})
|