mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-19 20:06:58 +08:00
- [+] fix(common.ts): improve handling of OpenAI-Organization header - Check if serverConfig.openaiOrgId is defined and not an empty string - Log the value of openaiOrganizationHeader if present, otherwise log that the header is not present - Conditionally delete the OpenAI-Organization header from the response if [Org ID] is undefined or empty (not setup in ENV)