I'm using Claude 3.7 Sonnet, like so...
# Create an agent with memory, websearch tool
USER_ID = "TEST" # Replace with actual user ID
memory_agent = Agent(
system_prompt=SYSTEM_PROMPT,
model="us.anthropic.claude-3-7-sonnet-20250219-v1:0", # Optional: Specify the model ID
tools=[mem0_memory, websearch],
)
But using the mem0_memory tool errors with a references to anthropic.claude-3-5-haiku-20241022-v1.
An error occurred (ValidationException) when calling the InvokeModel operation: Invocation of model ID │
anthropic.claude-3-5-haiku-20241022-v1:0 with on-demand throughput isn’t supported. Retry your request with the │
ID or ARN of an inference profile that contains this model.
I think it's because the mem0_memory tool defaults to Haiku and the sample doesn't provide the configuration to override it.
https://github.com/strands-agents/tools/blob/132ed4be782713e483c3e7b15040d9555b479bb5/src/strands_tools/mem0_memory.py#L152-L164
I'm using Claude 3.7 Sonnet, like so...
But using the
mem0_memorytool errors with a references toanthropic.claude-3-5-haiku-20241022-v1.I think it's because the
mem0_memorytool defaults to Haiku and the sample doesn't provide the configuration to override it.https://github.com/strands-agents/tools/blob/132ed4be782713e483c3e7b15040d9555b479bb5/src/strands_tools/mem0_memory.py#L152-L164