u
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user