Commit 96f2380
committed
fix: use ipairs when iterating over resolved embeddings
The code was incorrectly iterating directly over the resolved_embeddings
array, which can lead to improper iteration in Lua. This commit fixes
the issue by properly using ipairs() to ensure sequential iteration over
numeric indices.1 parent 3373b76 commit 96f2380
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
0 commit comments