PEER: Expertizing Domain-Specific Tasks with a Multi-Agent Framework and Tuning Methods