Skip to content

Python: Bug: OpenAI Agent sample not working #12394

Closed
@marinomoscoso1

Description

@marinomoscoso1

Hi, i've a problem with the ai agents for beginers course, the introduction code sample doesnt work and i dont know because i have the openai endpoint and apikey from the azure ai foundry hub

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 modelspermission is required to access this endpoint', 'details': 'Themodelspermission is required to access this endpoint'}}"))

Metadata

Metadata

Assignees

Labels

agentsbugSomething isn't workingpythonPull requests for the Python Semantic Kernel

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions