This commit is contained in:
seb
2026-10-05 12:36:08 +02:00
parent 296fceedc0
commit 5f9231f8fd
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
"main": "index.js",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch-path=./src --watch-path=./.env --watch-path=../dashdbschema/src src/index.js",
"dev": "node --watch-path=./src --watch-path=./.env --watch-path=../dashdbschema/src --watch-path=../llmorbiter/src src/index.js",
"manage-users": "node scripts/manageUsers.js",
"docs:api": "node scripts/generateApiDocs.js",
"test": "echo \"Error: no test specified\" && exit 1"

View File

@@ -453,6 +453,7 @@ export class ConversationManager {
}
},
onToolError: async ({ name, error, id, callItem }) => {
console.error(`[ConversationManager ${this.conversationId}] Tool "${name}" errored:`, error);
try {
const errMsg = await db.addMessage(googleAuthId, this.conversationId, {
role: 'tool',