01 - Melt butter in a large skillet over medium heat. Add sliced onions and cook, stirring frequently, until soft and lightly golden, approximately 10-15 minutes.
02 - Stir minced garlic into the caramelized onions and continue cooking for 1 minute until fragrant.
03 - Transfer the onion mixture to the slow cooker. Pour in beef broth, white wine, and add thyme, bay leaf, salt, and pepper. Stir thoroughly to incorporate all ingredients.
04 - Cover and cook on low heat for 6-8 hours until onions achieve deep caramelization and flavors have fully melded. Remove and discard the bay leaf before serving.
05 - Preheat broiler 20 minutes before serving. Arrange baguette slices on a baking sheet and toast until golden brown, 1-2 minutes per side.
06 - Ladle hot soup into oven-safe bowls. Place a toasted baguette slice on top of each bowl and generously cover with Gruyère cheese.
07 - Arrange bowls on a baking sheet and broil until cheese becomes bubbly and golden brown, approximately 2-3 minutes. Serve immediately, garnished with additional thyme if desired.