Heat olive oil in a large pot over medium heat.
Add the chopped onion and cook until translucent, about 5 minutes.
Stir in the minced garlic and cook for another minute, making sure it doesn't burn.
Add the diced chicken and cook, stirring often, until browned, about 6-7 minutes.
Toss in the sliced carrots and frozen peas, mixing well.
Sprinkle in the dried thyme, salt, and pepper, stirring to combine.
Pour in the chicken broth and bring the mixture to a simmer.
Slowly stir in the heavy cream and let simmer for 5 minutes.
Add the gnocchi, stirring well to coat them in the creamy mixture.
Cook until the gnocchi are tender and heated through, about 3-5 minutes.
Taste and adjust seasoning if necessary before serving.