Merge pull request #6589 from DucNgn/dn_forward_user_info_in_headers

feat: Add option to forward user info as headers to OpenAI API
This commit is contained in:
Timothy Jaeryang Baek
2024-11-02 17:24:04 -07:00
committed by GitHub
5 changed files with 45 additions and 2 deletions

View File

@@ -422,6 +422,7 @@ OAUTH_ADMIN_ROLES = PersistentConfig(
)
def load_oauth_providers():
OAUTH_PROVIDERS.clear()
if GOOGLE_CLIENT_ID.value and GOOGLE_CLIENT_SECRET.value: