Commit 9cbaea0
committed
fix: prevent LLM from adding institution_id filter to course_enrollments
course_enrollments has no institution_id column; the INSTITUTION context
in the prompt was causing the LLM to borrow the Institution_ID filter
from the student table and apply it to course queries, producing:
Error: column "institution_id" does not exist1 parent 89ae696 commit 9cbaea0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments