mesa / mesa/mesa-llm

bug: STLTMemory uses model.steps which does not exist in Mesa 4.x

Open
#205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

depedency mesa-4
Dominant language
Python
Stars
73
Forks
89
Avg merge
14d 58m
Merged PRs (30d)
2

Description

st_lt_memory.py uses self.agent.model.steps which was removed in Mesa 4.x. Causes AttributeError during memory consolidation.
The fix int(getattr(self.agent.model, "_time", 0)) is already applied in record_model.py
this brings st_lt_memory.py in line. Fixed in PR #199

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing st_lt_memory.py with the already-updated record_model.py and review PR #199. Confirm that the memory-consolidation path no longer accesses the removed model.steps attribute and uses the same time handling as record_model.py.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.