Repository navigation
Commit ad1972a
fix(hooks): add type check for hook model config
Add typeof check for hookConfig.model to ensure it's a string before
passing to generateSlugViaLLM. This fixes the TypeScript type error
where unknown was not assignable to string | undefined.
Co-Authored-By: Claude Opus 4.8 <[email protected]>1 parent eed1d2a commit ad1972a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| |||
0 commit comments