OpenAI CEO Sam Altman said Monday that the company “shouldn’t have rushed” its recent deal with the U.S. Department of Defense and would make some revisions to the agreement.

It came days after the ChatGPT maker announced it had struck a new deal with the Defense Department on Friday, just hours after the White House directed federal agencies to stop using rival AI company Anthropic’s tools, and hours before Washington would carry out strikes on Iran.

In a post on X, Altman said OpenAI would amend the contract to include some new language, including that “the AI system shall not be intentionally used for domestic surveillance of U.S. persons and nationals.”

He added that the Defense Department had affirmed that OpenAI’s tools would not be used by intelligence agencies such as the NSA.

“There are many things the technology just isn’t ready for, and many areas we don’t yet understand the tradeoffs required for safety,” Altman said, adding that the company would work with the Pentagon on technical safeguards.