i had the same issue but that happens to me on 500 map.
Guy with who i worked 70 days went AI and two houes later this AI declare war on me and i almost lost game because of that. I had a luck and guy was AI just about 15h but still he capture like 30 cities
as i didnt have much units in our border