From 3408d02a36657939fbf74d7e425c1d36d5aa87e9 Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Mon, 11 Sep 2023 15:58:12 +0200 Subject: [PATCH] Remove the legacy line --- pilot/helpers/AgentConvo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pilot/helpers/AgentConvo.py b/pilot/helpers/AgentConvo.py index 0789ec2..b193ff5 100644 --- a/pilot/helpers/AgentConvo.py +++ b/pilot/helpers/AgentConvo.py @@ -42,9 +42,6 @@ class AgentConvo: # craft message self.construct_and_add_message_from_prompt(prompt_path, prompt_data) - if function_calls is not None and 'function_calls' in function_calls: - self.messages[-1]['content'] += '\nMAKE SURE THAT YOU RESPOND WITH A CORRECT JSON FORMAT!!!' - # check if we already have the LLM response saved if self.agent.__class__.__name__ == 'Developer': self.agent.project.llm_req_num += 1