microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
421 stars 185 forks source link

[Enhancement]: Actionable error message when key is invalid #1488

Open pierceboggan opened 7 months ago

pierceboggan commented 7 months ago

Scenario

When teams-ai library has a key set, but invalid, the bot fails with an error message that is not actionable.

Solution

Provide an actionable error message when the Azure OpenAI Service returns a 401 that the key is invalid.

Additional Context

No response

corinagum commented 7 months ago

@pierceboggan could you provide specific examples of what you mean? What key are you talking about?