Federated Domain Generalization via Prompt Learning and Aggregation