Melt the butter and olive oil: In a skillet over medium heat, combine 4 tbsp of unsalted butter and 2 tbsp of olive oil until melted and foamy.
Cook the onions: Add 6 thinly sliced large yellow onions. Sauté for about 10-15 minutes until the onions are soft and translucent.
Caramelize the onions: Stir in 1 tbsp of sugar and continue to sauté for an additional 10-15 minutes, cooking until the onions turn a deep, golden brown.
Add flour: Sprinkle 1 tbsp of all-purpose flour over the onions and cook for 2 more minutes to remove the raw flour taste.
Transfer to the slow cooker: Carefully pour the caramelized onions into your slow cooker.
Add broth and seasonings: Pour in 8 cups of beef broth (or chicken broth for a lighter touch), along with ½ cup of dry white wine, 3 sprigs of fresh thyme, 2 bay leaves, and salt and pepper to taste.
Slow cook: Set your slow cooker to low and let it cook for 6-8 hours, allowing all the flavors to meld together beautifully.
Broil the soup: Once the cooking time is complete, preheat your broiler. Ladle the soup into oven-safe bowls.
Top with baguette and cheese: Place a slice of 1 baguette on top of each bowl of soup and generously sprinkle with 2 cups of shredded Gruyère cheese.
Broil to finish: Broil the bowls until the cheese is bubbly and golden, about 2-3 minutes. Watch closely to avoid burning!
Serve hot: Garnish your soup with fresh thyme and serve hot, enjoying the delightful flavors.