You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug seems to be the super().init() call in MSALOpenAI is missing the argument rest_call=True.
rest_call defaults to False, which means self._rest_headers is None, which causes the error.
System info (please complete the following information):
Windows 11
Guidance Version (0.0.61):
The text was updated successfully, but these errors were encountered:
yanivnaor
changed the title
MSALOpenAI doesn't work
MSALOpenAI doesn't work - 'MSALOpenAI' object has no attribute '_rest_headers'
Jun 6, 2023
The bug
Error when trying to instantiate the MSALOpenAI class:
AttributeError: 'MSALOpenAI' object has no attribute '_rest_headers'
To Reproduce
The bug seems to be the super().init() call in MSALOpenAI is missing the argument rest_call=True.
rest_call defaults to False, which means self._rest_headers is None, which causes the error.
System info (please complete the following information):
0.0.61
):The text was updated successfully, but these errors were encountered: