diff --git a/agent_jarvis/jarvis/ai_agent/gpt_agent.py b/agent_jarvis/jarvis/ai_agent/gpt_agent.py index 8b7011b..18009fd 100644 --- a/agent_jarvis/jarvis/ai_agent/gpt_agent.py +++ b/agent_jarvis/jarvis/ai_agent/gpt_agent.py @@ -65,9 +65,6 @@ class GptAgent(BaseAgent): # Send message to AI, get response logger.debug(f"Trigger: {prompt}") reply: Dict = None - # It seems that after the message is wrapped in JSON format, - # the probability that GPT will reply to the message in JSON format is much higher - prompt = json.dumps({"message": prompt}) for i in range(3): try: if i == 0: