Commit ff163fc
committed
fix: handle unknown embedding models in zoo-embedding
Use the existing Other(String) fallback variant instead of returning
InvalidModelArchitecture error for unknown model names. This prevents
the node from crashing when the desktop app passes new embedding models.1 parent bd001ab commit ff163fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments