Cartinoe5930 commited on
Commit
f702364
1 Parent(s): e114200

Update model_inference.py

Browse files
Files changed (1) hide show
  1. model_inference.py +1 -1
model_inference.py CHANGED
@@ -33,7 +33,7 @@ def construct_message(agent_context, instruction, idx):
33
  return construct_message(agent_context, instruction, idx)
34
 
35
  prefix_string = f"Here is a summary of responses from other agents: {completion}"
36
- prefix_string = prefix_string + "\n\n Use this summarization carefully as additional advice, can you provide an updated answer? Make sure to state your answer at the end of the response." + instruction
37
  return prefix_string
38
 
39
  def summarize_message(agent_contexts, instruction, idx):
 
33
  return construct_message(agent_context, instruction, idx)
34
 
35
  prefix_string = f"Here is a summary of responses from other agents: {completion}"
36
+ prefix_string = prefix_string + "\n\n Use this summarization carefully as additional advice, can you provide an updated answer? Make sure to state your answer at the end of the response. " + instruction
37
  return prefix_string
38
 
39
  def summarize_message(agent_contexts, instruction, idx):