huggingface / huggingface/agents-course
[HANDS-ON BUG] [HANDS-ON BUG] HfApiModel error in 2.1 final quiz
- Dominant language
- MDX
- Stars
- 32.6k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I declare like this:
```python
model = HfApiModel(model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/')
```
Is that wrong? It was flagged as a wrong answer, see screenshot below.
**To Reproduce**
Take the quiz https://huggingface.co/spaces/agents-course/unit2_smolagents_quiz
**Screenshots**

**Additional context**
There is an example [here](https://huggingface.co/spaces/agents-course/First_agent_template/blob/main/app.py#L39-L40)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.