generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working