ChatGPT-Next-Web/app/api
H0llyW00dzZ 8dc8682078
Fix Api Common [Server Side]
- [+] 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)
2023-12-04 13:33:23 +07:00
..
config feat: close #3187 use CUSTOM_MODELS to control model list 2023-11-09 03:01:29 +08:00
cors/[...path] fixup 2023-09-19 02:21:31 +08:00
openai/[...path] config: exclude hkg1 from the deployment regions of the edge function 2023-11-16 11:33:10 +08:00
auth.ts fix: #3275 refuse on server side if hide user api key 2023-11-16 00:53:11 +08:00
common.ts Fix Api Common [Server Side] 2023-12-04 13:33:23 +07:00