Executor-Tyrant-Framework commited on
Commit
e1fdc4e
·
verified ·
1 Parent(s): 1a34e79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -95,7 +95,10 @@ ctx = RecursiveContextManager(_resolve_repo_path())
95
  def build_system_prompt() -> str:
96
  stats = ctx.get_stats()
97
 
98
- # ... (Keep your notebook auto-loading logic here) ...
 
 
 
99
 
100
  tools_doc = """
101
  ## Available Tools
 
95
  def build_system_prompt() -> str:
96
  stats = ctx.get_stats()
97
 
98
+ # --- FIX: READ NOTEBOOK ---
99
+ nb_text = ctx.notebook_read()
100
+ notebook_section = f"\n## 🧠 WORKING MEMORY (Notebook):\n{nb_text}\n" if nb_text else ""
101
+ # --------------------------
102
 
103
  tools_doc = """
104
  ## Available Tools