In a large skillet, heat olive oil over medium heat. Add the chopped onion, celery, and carrots. Sauté for about 5-7 minutes, or until the vegetables are slightly softened.
Sprinkle the flour over the cooked vegetables and stir well to combine, cooking for an additional 1-2 minutes.
Slowly pour in the chicken broth while stirring constantly to prevent lumps. Bring to a gentle simmer and allow the mixture to thicken, about 5 minutes.
Add the shredded chicken, gnocchi, peas, heavy cream, thyme, garlic powder, salt, and pepper. Stir everything together until well combined and heated through.
Transfer the mixture to a greased oven-safe pie dish or baking dish.
Roll out the puff pastry or biscuit dough and place it over the top of the gnocchi mixture. Seal the edges by tucking them under the dish. Cut a few slits in the top to allow steam to escape.
Bake in the preheated oven for 25-30 minutes, or until the pastry is golden brown and flaky.
Remove from the oven and let it cool for a few minutes before serving.
Notes
Serve slices of the pot pie on plates and garnish with fresh thyme or parsley for a pop of color.