Skip to content

Commit

Permalink
Remove the legacy line
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvonimir Sabljic committed Sep 11, 2023
1 parent bcfefd0 commit 3408d02
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pilot/helpers/AgentConvo.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def send_message(self, prompt_path=None, prompt_data=None, function_calls=None):
# 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
Expand Down

0 comments on commit 3408d02

Please sign in to comment.