Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,7 @@ def respond(message, history, model, approach, system_message, max_tokens, tempe
|
|
37 |
)
|
38 |
return response.choices[0].message.content
|
39 |
else:
|
|
|
40 |
if approach == 'rto':
|
41 |
final_response = round_trip_optimization(system_prompt, initial_query, client, model)
|
42 |
elif approach == 'z3':
|
|
|
37 |
)
|
38 |
return response.choices[0].message.content
|
39 |
else:
|
40 |
+
system_prompt = system_message
|
41 |
if approach == 'rto':
|
42 |
final_response = round_trip_optimization(system_prompt, initial_query, client, model)
|
43 |
elif approach == 'z3':
|