Spaces:
Sleeping
Sleeping
Commit
·
a3b3610
1
Parent(s):
2aa8f92
Update model_inference.py
Browse files- model_inference.py +1 -1
model_inference.py
CHANGED
@@ -108,7 +108,7 @@ def Inference(model_list, question, API_KEY, cot, HF_TOKEN):
|
|
108 |
if debate != 0:
|
109 |
message.append(summarize_message(agent_contexts, content, 2 * debate - 1))
|
110 |
for i in range(len(agent_contexts)):
|
111 |
-
agent_contexts[i].append(prompt_formatting(agent_contexts[i][-1]["model"], message,
|
112 |
|
113 |
# Generate new response based on summarized response
|
114 |
for agent_context in agent_contexts:
|
|
|
108 |
if debate != 0:
|
109 |
message.append(summarize_message(agent_contexts, content, 2 * debate - 1))
|
110 |
for i in range(len(agent_contexts)):
|
111 |
+
agent_contexts[i].append(prompt_formatting(agent_contexts[i][-1]["model"], message, cot))
|
112 |
|
113 |
# Generate new response based on summarized response
|
114 |
for agent_context in agent_contexts:
|