The `models` permission is required to access this endpoint
When I run the notebook in step 01, specifically the last cell i get the following error.
ServiceResponseException: ("<class 'semantic_kernel.connectors.ai.open_ai.services.open_ai_chat_completion.OpenAIChatCompletion'> service failed to complete the prompt", AuthenticationError("Error code: 401 - {'error': {'code': 'unauthorized', 'message': 'The models permission is required to access this endpoint', 'details': 'The models permission is required to access this endpoint'}}"))
👋 Thanks for contributing @wdrone! We will review the issue and get back to you soon.
This was because I didn't explicitly give the fined grained github pat read only access to models. Recommend updating the github pat creation instructions.
@indcoder re https://github.com/microsoft/ai-agents-for-beginners/pull/134 some additional guidance
@leestott Thank you for your patience. Please review the latest changes. There were improvements in GitHub.com UI for PAT, I have incorporated that in content including images.
I have merged the changes., Thanks for the help @indcoder