thu-tok-auto
Fetches Tsinghua MadModel API tokens and renews them from the saved SSO session on a 20-minute timer in a windowless browser, writes the token into the DSH credential MADMODEL_API_KEY and creates or reuses the madmodel model provider; one manual Get captures that session through the campus login window.
View project ↗Open the repository on GitHub
Overview
Fetches Tsinghua MadModel API tokens and renews them from the saved SSO session on a 20-minute timer in a windowless browser, writes the token into the DSH credential MADMODEL_API_KEY and creates or reuses the madmodel model provider; one manual Get captures that session through the campus login window.
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.