Skip to content

Commit 2f6c168

Browse files
CopilotCyberSecDef
andauthored
Fix NameError: append to window deque, not undefined all_entries
Agent-Logs-Url: https://github.com/CyberSecDef/NovelForge/sessions/147f948c-2221-4cd9-860c-498288b76c8d Co-authored-by: CyberSecDef <17597068+CyberSecDef@users.noreply.github.com>
1 parent 4c93d4a commit 2f6c168

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

novelforge/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def get_llm_log() -> Response:
245245
continue
246246

247247
try:
248-
all_entries.append(json.loads(stripped))
248+
window.append(json.loads(stripped))
249249
except json.JSONDecodeError:
250250
# llm.log is treated as JSONL: one complete JSON object per
251251
# non-empty line. Skip malformed/incomplete lines rather than

0 commit comments

Comments
 (0)