Adaptive Domain Modeling with Language Models: A Multi-Agent Approach to Task Planning