mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ignore: add error log for title gen failures
This commit is contained in:
parent
1a5b456bb6
commit
1e47bcea86
1 changed files with 3 additions and 1 deletions
|
|
@ -742,7 +742,9 @@ export namespace Session {
|
|||
draft.title = title.trim()
|
||||
})
|
||||
})
|
||||
.catch(() => {})
|
||||
.catch((error) => {
|
||||
log.error("failed to generate title", { error, model: small.info.id })
|
||||
})
|
||||
}
|
||||
|
||||
const agent = await Agent.get(inputAgent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue