People with diabetes may have genetic variations that cause their thiamine transporters to not absorb thiamine as well. This functional thiamine deficiency can cause inflammation and diabetes. Thiamine is needed to down regulate the inflammatory cytokines.
Genetic Variants of the Human Thiamine Transporter (SLC19A3, THTR2)—Potential Relevance in Metabolic Diseases
https://pmc.ncbi.nlm.nih.gov/articles/PMC11988879/
Thiamine, gastrointestinal beriberi and acetylcholine sign