Cook the vegetables in the butter just until softened (do not brown). With a wooden spoon, stir in the flour and brown for five minutes while stirring.
Stir in the wine, bouillon and thyme. Bring to a boil, then reduce heat and simmer for 15 minutes. Season to taste with salt and pepper.