Update app.py
Browse files
app.py
CHANGED
@@ -261,7 +261,7 @@ async def generate_plan(history, file_cache):
|
|
261 |
tool_calls = await asyncio.gather(*[call_tool(step['tool'], step['args']) for step in parsed_plan])
|
262 |
except Exception as e:
|
263 |
tool_calls = []
|
264 |
-
|
265 |
if tool_calls!=[]:
|
266 |
formatted_context_prompt = hf_context_gen_prompt.format(
|
267 |
Conversation=conversation_history,
|
|
|
261 |
tool_calls = await asyncio.gather(*[call_tool(step['tool'], step['args']) for step in parsed_plan])
|
262 |
except Exception as e:
|
263 |
tool_calls = []
|
264 |
+
print(tool_calls)
|
265 |
if tool_calls!=[]:
|
266 |
formatted_context_prompt = hf_context_gen_prompt.format(
|
267 |
Conversation=conversation_history,
|