I don't understand why your doctor would have you eating a lot of carbs. Doctors 100 years ago knew that lower carb diets were good for both Type 1 and Type 2 diabetes. It's in old medical literature from before the discovery of artificial insulin. The stupid misconception that diabetes is all about "sugar" keeps setting us back when it comes to the public's knowledge of diabetes. The body doesn't know the difference between a banana, a potato, a bowl of rice, or a bowl of vanilla ice cream. They all have roughly the same amount of carbs. But "bananas are healthy" and "ice cream has sugar but potatoes and rice dont" so nobody has any idea what to eat.
The keto diet works well for Type 2 because the great reduction in carbs keeps blood glucose spikes to a minimum and the great reduction in consumed calories combined with high protein intake promotes healthy weight loss. Weight loss combined with increased physical activity is the proper treatment for Type 2 diabetes. There are some who will always need Metformin or other pharmaceuticals even though they exercise a lot and have their weight at optimal levels. Insulin resistance is always different for every person.
The Keto diet can be dangerous for Type 1 diabetics, for reasons that would take an entirely different post to explain. But with automated insulin pumps and continuous glucose monitors, some Type 1s can and do successfully use the keto diet with good results. I do not, because I don't use a pump. I maintain my A1c from 5.7 to 6.2, which is outstanding for a Type 1, with a time in range of 80+% (70 to 180 mg/dl). Keto isn't necessary for me but controlling my carbs and more importantly knowing exactly how many carbs are in every bite of food I put in my mouth, are absolutely necessary. The amount of carbs consumed is how I know how much insulin to take.