Repository navigation
Commit 8d2017d
fix(session): catch ensureTitle errors to prevent silent failure
ensureTitle() is called fire-and-forget on the first user message to
generate a session title. If small_model is misconfigured (e.g., invalid
model ID or unavailable provider), the resulting ProviderModelNotFoundError
becomes an unhandled promise rejection. The session silently keeps its
default title ('New session - ...') with no user-visible error.
Add .catch() at the call site to log the error instead of silently
swallowing it.
Fixes anomalyco#14807
Co-authored-by: Claude <[email protected]>1 parent f54abe5 commit 8d2017d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
0 commit comments