The response_agent in the “email assistant with semantic memory” is using the “anthropic:claude-3-5-sonnet-latest” model. Since I don’t have an anthropic api key, I’m using gpt-4o. But I’m not seeing that the memory tool is being used after sending an email to Alice. Is this a gpt-4o issue or is something else going on (I downloaded the code directly from the course).
I am having the same issue. I suspect there is an issue with the OpenAI GPT-4O Model. I will try using some open source models using Ollama and will update here. I suspect the creator also faced the same issue and switched to Anthropic’s model
same here with gpt4 and 4.1
Same issue here, except that “claude-3-5-sonnet-latest” also gave a not found error. I updated it to “claude-sonnet-4-6” in the notebook which fixed that error, but the memory tool is still not used to store the response to Alice.
Hi everyone — thanks for flagging this, it is not a mistake in your setup.
What’s happening: the notebook was built when claude-3-5-sonnet-latest was Anthropic’s current model. Anthropic deprecated the entire Sonnet 3.5 family in 2025, so that model string simply doesn’t exist anymore on their API — that’s the 404 you’re seeing, not anything broken in your code or API key.
The fix: just update the model string:
response_agent = create_react_agent(
"anthropic:claude-sonnet-4-6",
tools=tools,
prompt=create_prompt,
store=store
)
One more thing to watch for: if you get past this error and the memory tool still isn’t being triggered when you’d expect (e.g. after telling the agent ‘Jim is my friend’), that’s a separate, known quirk — newer models tend to be more conservative about calling tools unless the prompt explicitly requires it.
Good news: this notebook will be updated to a current Anthropic model, so hopefully this whole class of issue goes away soon.
-- Lesly, DLAI