Closed swatDong closed 1 week ago
Looked into code and it seems to be caused by here
Created PR for my proposed fix. Feel free to create other fixes if I missed any scenario.
Having same problems
also have such problem, looking for any solution. hope fix will be soon
Language
Javascript/Typescript
Version
1.3.0
Description
Calling Azure OpenAI with API Key, the code to create
OpenAIModel
:But get 401 response from AOAI:
Also found that, the request header has
"Authorization":"Bearer xxx..."
. But according to the Azure OpenAI doc, to use API Key, should useapi-key
header.Reproduction Steps
@microsoft/teams-ai 1.3.0
OpenAIModel
with azure settings