Component
Core / Python SDK
Description
Summary
The default model llama3-70b-8192 is deprecated and causes a 400 error.
Steps to Reproduce
from dotenv import load_dotenv
import os
from mem0 import Memory
load_dotenv()
config = {
"llm": { #LLM
"provider": "groq",
"config": {
"api_key" : os.getenv("GROQ_API_KEY")
}
},
}
# client
m = Memory.from_config(config)
messages = [
{"role": "user", "content": "I'm planning to watch a movie tonight. Any recommendations?"},
{"role": "assistant", "content": "How about thriller movies? They can be quite engaging."},
{"role": "user", "content": "I’m not a big fan of thriller movies but I love sci-fi movies."},
{"role": "assistant", "content": "Got it! I'll avoid thriller recommendations and suggest sci-fi movies in the future."}
]
m.add(messages, user_id="alice", metadata={"category": "movies"})
Expected Behavior
The request should complete successfully and store memory using a valid Groq model.
Actual Behavior
groq.BadRequestError: Error code: 400 - {
'error': {
'message': 'The model `llama3-70b-8192` has been decommissioned and is no longer supported.',
'type': 'invalid_request_error',
'code': 'model_decommissioned'
}
}
Environment
- mem0 version: 1.0.10
- Python/Node version: 3.10
- OS: Windows
Component
Core / Python SDK
Description
Summary
The default model llama3-70b-8192 is deprecated and causes a 400 error.
Steps to Reproduce
Expected Behavior
The request should complete successfully and store memory using a valid Groq model.
Actual Behavior
Environment