Commit 61eb906
committed
fix(notebooks): repair JSON source format and harden notebooks
- Repair character-by-character cell source serialization in
01_llama (cell 6) and 02_langchain (cells 6, 18) — source must be
a list of full lines, not single-char list elements
- Delay COORDINODE_PORT int() parsing until the else-branch so a
malformed port value does not crash startup when COORDINODE_ADDR is set
- Replace two-step DELETE+DELETE with DETACH DELETE in 00_seed_data
cleanup to avoid duplicate-edge errors from undirected MATCH -[r]-()
- Cap explicit LIMIT to min(n, 20) in 03_langgraph query_facts instead
of unconditionally replacing it, preserving LIMIT 1 and similar
- Wrap create_text_index calls inside try-blocks with idx_created flag
in three FTS integration tests so node cleanup always runs even when
index creation fails1 parent d75026e commit 61eb906
5 files changed
Lines changed: 247 additions & 3205 deletions
File tree
- demo/notebooks
- tests/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
123 | 136 | | |
124 | 137 | | |
125 | 138 | | |
| |||
373 | 386 | | |
374 | 387 | | |
375 | 388 | | |
376 | | - | |
| 389 | + | |
0 commit comments