Edit the following sentence to change the tense to past perfect: "The cat has been eating the food all morning".
The cat had been eating the food all morning.
Complete the following task based on the instruction and optional input provided.### Instruction:
Edit the following sentence to change the tense to past perfect: "The cat has been eating the food all morning".

### Output:
The cat had been eating the food all morning.