In my prompt for the AI to write out a beat, I have {context.codex} but in the final prompt, it's adding a bunch of codex entries with no relationship to the scene.