chatgpt-demo icon indicating copy to clipboard operation
chatgpt-demo copied to clipboard

feat:Add custom OPENAI_API_KEY functionality

Open hswmartin opened this issue 2 years ago • 4 comments

Description

Add custom OPENAI_API_KEY functionality. If an incorrect key is set, the official error message will be returned. If no key is set, the OPENAI_API_KEY configured in the environment variable will be used. image

Linked Issues

Additional context

hswmartin avatar Mar 09 '23 04:03 hswmartin

Someone is attempting to deploy a commit to a Personal Account owned by @ddiu8081 on Vercel.

@ddiu8081 first needs to authorize it.

vercel[bot] avatar Mar 09 '23 04:03 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
chatgpt-demo ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 9, 2023 at 6:01AM (UTC)

vercel[bot] avatar Mar 09 '23 06:03 vercel[bot]

Thanks! But I have some new plans for the UI interface. Please allow me to come back to this PR after the UI adjustments soon.

ddiu8081 avatar Mar 09 '23 18:03 ddiu8081

I think we can merge the backend part only. In v2, the ui interface needs to be redrawn, but the logical parts can be reused.

ddiu8081 avatar Mar 13 '23 10:03 ddiu8081