mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 19:14:03 +00:00
feat(bot): add error logging to topic processor
Previously, the topic processor swallowed errors silently, making debugging impossible. This commit adds error logging to the topic processor catch block.
This commit is contained in:
@@ -157,7 +157,8 @@ const conversationalAssistant = createOpenAiChatAssistant(
|
||||
const topicProcessor = createTopicProcessor(
|
||||
runtime.openaiApiKey,
|
||||
runtime.topicProcessorModel,
|
||||
runtime.topicProcessorTimeoutMs
|
||||
runtime.topicProcessorTimeoutMs,
|
||||
getLogger('topic-processor')
|
||||
)
|
||||
const householdContextCache = new HouseholdContextCache()
|
||||
const anonymousFeedbackRepositoryClients = new Map<
|
||||
|
||||
Reference in New Issue
Block a user