Instance vs class attributes — and the bug AI ships every time — step 5 of 9
Cursor wrote __init__ but left out the self. prefix on one
assignment. Without it, model is just a local variable that
disappears when __init__ returns — the instance never gets the
attribute.
Fill in the missing prefix on line 4 so the print at the bottom works.
Prefix:
⌘↵ runs the editor.read, then continue.
Instance vs class attributes — and the bug AI ships every time — step 5 of 9
Cursor wrote __init__ but left out the self. prefix on one
assignment. Without it, model is just a local variable that
disappears when __init__ returns — the instance never gets the
attribute.
Fill in the missing prefix on line 4 so the print at the bottom works.
Prefix:
⌘↵ runs the editor.read, then continue.