After deploy to cloud the chat not worknig
PeterCheungHK opened this issue · comments
After deploy to cloud the chat not worknig
The bot encountered unhandled error:Request failed with status code 401
To continue to run this bot, please fix the bot source code.
Have you set OPENAI_API_KEY
in envionment variables of your OS, then restart VS Code, and then do the deployment?
Yes, both setx OPENAI_API_KEY “” and .env.teamsfx.local are set
use F5 local bug is OK and deploy to cloud is not working
Could you go to app settings of App Service app, and see whether the value of OPENAI_API_KEY
is set?
Could you go to app settings of App Service app, and see whether the value of
OPENAI_API_KEY
is set?
Thank you so much , after setup the key in App service is ok
hi everyone, i was unhandled error when i was trying to change model from text-davinci-003 to gpt-3.5-turbo or gpt-4
any suggestions over here please
hi everyone, i was unhandled error when i was trying to change model from text-davinci-003 to gpt-3.5-turbo or gpt-4
any suggestions over here please
@lhtpavankumar You could try this repo: https://github.com/formulahendry/chatgpt-teams-bot
The code is a little different with the bot of text-davinci-003.