Update multi_agent.py
Browse files- multi_agent.py +3 -1
multi_agent.py
CHANGED
@@ -134,8 +134,10 @@ def run_multi_agent(llm):
|
|
134 |
#json_data = json.loads(chat_history.replace("'", '"'))
|
135 |
|
136 |
#content_list = [item['content'] for item in json_data]
|
|
|
|
|
137 |
|
138 |
for move in chat_history:
|
139 |
result += f"{move.get('role')}: {move.get('content')}\n"
|
140 |
|
141 |
-
return
|
|
|
134 |
#json_data = json.loads(chat_history.replace("'", '"'))
|
135 |
|
136 |
#content_list = [item['content'] for item in json_data]
|
137 |
+
|
138 |
+
result = ""
|
139 |
|
140 |
for move in chat_history:
|
141 |
result += f"{move.get('role')}: {move.get('content')}\n"
|
142 |
|
143 |
+
return result
|