Skip to content

create_agent function in 02-azureaiagent.ipynb returns error "Resource not found. Error 404" #253

@ncikac

Description

@ncikac

Describe the bug
I did follow all the course setup steps defined in https://github.com/ncikac/ai-agents-for-beginners/tree/main-kopija/00-course-setup
However, when I do exercise "02-azureaiagent.ipynb"
line code:
agent = project_client.agents.create_agent(
model="gpt-4o",
name="my-agent",
instructions="You are helpful agent",
tools=code_interpreter.definitions,
)

It returns error: 404 ResourceNotFound.

To Reproduce
Steps to reproduce the behavior:
just following steps defined in course prep and in this jupyter notebook

Expected behavior
Script to run without errors.

Screenshots

Image

Desktop (please complete the following information):

  • VScode + dev container (everything updated to latest versions)

Additional context
I "course setup" chapter I can not find "Azure AI Foundry" item.

Image

I only see "Azure AI inference" item?!?

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions