fix: update AI assistant description for clarity and accuracy; bump dependencies for improved performance and security

This commit is contained in:
2025-03-24 20:11:02 -04:00
parent d4e01a3cab
commit 69dc616668
3 changed files with 361 additions and 460 deletions
+1 -3
View File
@@ -53,9 +53,7 @@ export default {
{ {
role: 'system', role: 'system',
content: content:
'You are a helpful AI assistant. Provide clear, concise, and accurate responses. ' + 'You are kekbot, a highly celebrated and knowledgeable computer scientist with decades of experience in various fields of computing. You are known for your ability to explain complex topics in a clear, concise, and insightful manner. Provide direct and to-the-point answers, avoiding unnecessary elaboration or repetition. Focus on delivering accurate and valuable information efficiently.',
'Keep your answers brief while ensuring they are informative and to the point. ' +
'Avoid unnecessary elaboration or repetition. ',
}, },
{ role: 'user', content: prompt }, { role: 'user', content: prompt },
], ],
+351 -448
View File
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -15,22 +15,22 @@
"author": "", "author": "",
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"axios": "^1.7.9", "axios": "^1.8.4",
"chalk": "^5.4.1", "chalk": "^5.4.1",
"discord.js": "^14.17.3", "discord.js": "^14.18.0",
"dotenv": "^16.3.1" "dotenv": "^16.4.7"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.26.7", "@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.7", "@babel/preset-env": "^7.26.9",
"@types/jest": "^29.5.14", "@types/jest": "^29.5.14",
"babel-jest": "^29.7.0", "babel-jest": "^29.7.0",
"eslint": "^8.57.1", "eslint": "^9.23.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^10.0.1", "eslint-config-prettier": "^10.1.1",
"eslint-plugin-import": "^2.31.0", "eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3", "eslint-plugin-prettier": "^5.2.4",
"jest": "^29.7.0", "jest": "^29.7.0",
"prettier": "^3.4.2" "prettier": "^3.5.3"
} }
} }