In a large skillet, heat the olive oil over medium-high heat. Season both sides of the chicken with salt, pepper, and thyme.
Add the chicken to the skillet and cook for 5-6 minutes on each side, until the chicken is cooked through.
Remove the chicken from the pan and set aside. Tent with foil to keep warm.
To the same skillet, add the butter and sliced onions. Cook until the onions start to brown, then add in the red wine and beef broth.
Cook until most of the liquid boils off, about five minutes.
Add the chicken back to the skillet and cover with onions and the rest of the sauce.
Top with the shredded gruyere cheese and place in the broiler for 2-3 minutes until the cheese is melted, then serve. Garnish with fresh thyme.
Notes
Store in an airtight container in the refrigerator for up to five days. You can reheat in a covered baking dish in the oven at 350 degrees for 20 minutes.
Freeze leftovers in an airtight freezer ziplock bag for up to two months. Thaw in the refrigerator, then follow the reheating instructions above.