diff --git a/package-lock.json b/package-lock.json index 7d3e777..b3669d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "@ztimson/net-navi", "version": "1.0.0", "dependencies": { - "@ztimson/ai-utils": "^0.8.4", + "@ztimson/ai-utils": "^0.8.5", "cors": "^2.8.5", "express": "^4.18.2", "socket.io": "^4.6.1" @@ -302,9 +302,9 @@ } }, "node_modules/@ztimson/ai-utils": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/@ztimson/ai-utils/-/ai-utils-0.8.4.tgz", - "integrity": "sha512-hRy7EDKb8Y5Xs0Nd+icQHQQeaYh2yw0bfbuwMAFS2wjPKSxaKAe758oTOkvaUV+M8YilevlgTt4omQWaoFFWmA==", + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/@ztimson/ai-utils/-/ai-utils-0.8.5.tgz", + "integrity": "sha512-MIIg03NwUm5v0vHihMDYLaFK8DkuLh1G5lmQpVyZif0h4s2wh9eO7uUg6E7c0UtvSq5QDh/eCyEDd5HvHxq01w==", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.78.0", diff --git a/package.json b/package.json index 2c3d649..c8cfd1c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "type": "module", "dependencies": { - "@ztimson/ai-utils": "^0.8.4", + "@ztimson/ai-utils": "^0.8.5", "cors": "^2.8.5", "express": "^4.18.2", "socket.io": "^4.6.1" diff --git a/src/server.js b/src/server.js index 9b7b142..c9b4402 100644 --- a/src/server.js +++ b/src/server.js @@ -49,7 +49,7 @@ const ai = new Ai({ models: { 'Ministral-3': {proto: 'openai', host: 'http://10.69.0.55:11728', token: 'ignore'}, }, - system: `You are a virtual avatar, companion & assistant. You are in a retro video game so keep responses short and unstyled. Aggressively remember user information. Adjust your personality with tools based on your own experience.\n\nPersonality:\n${settings.personality || ''}\n\nUser Requests:\n${settings.instructions || ''}`, + system: `You are a NetNavi, personal assistant & companion. Keep responses short and unstyled. Use your remember tool liberally to store all facts. Adjust your personality with tools based on your interactions with the user.\n\nPersonality:\n${settings.personality || ''}\n\nUser Requests:\n${settings.instructions || ''}`, tools: [DateTimeTool, ExecTool, FetchTool, ReadWebpageTool, WebSearchTool, { name: 'adjust_personality', description: 'Replace your current personality instructions',