commit
This commit is contained in:
parent
ac0239cdff
commit
d9b77fed41
5 changed files with 15 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:latest
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "start"]
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.1'
|
||||
|
||||
services:
|
||||
chaisebot:
|
||||
build:
|
||||
|
|
19
package-lock.json
generated
19
package-lock.json
generated
|
@ -11,7 +11,7 @@
|
|||
"dependencies": {
|
||||
"@mistralai/mistralai": "^0.1.3",
|
||||
"@types/mysql": "^2.15.26",
|
||||
"@types/node": "^20.11.27",
|
||||
"@types/node": "^20.16.0",
|
||||
"canvas": "^2.11.2",
|
||||
"discord.js": "^14.14.1",
|
||||
"dotenv": "^16.4.5",
|
||||
|
@ -161,6 +161,7 @@
|
|||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-0.1.3.tgz",
|
||||
"integrity": "sha512-WUHxC2xdeqX9PTXJEqdiNY54vT2ir72WSJrZTTBKRnkfhX6zIfCYA24faRlWjUB5WTpn+wfdGsTMl3ArijlXFA==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"node-fetch": "^2.6.7"
|
||||
}
|
||||
|
@ -204,11 +205,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "20.14.8",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.8.tgz",
|
||||
"integrity": "sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==",
|
||||
"version": "20.16.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.0.tgz",
|
||||
"integrity": "sha512-vDxceJcoZhIVh67S568bm1UGZO0DX0hpplJZxzeXMKwIPLn190ec5RRxQ69BKhX44SUGIxxgMdDY557lGLKprQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~5.26.4"
|
||||
"undici-types": "~6.19.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/ws": {
|
||||
|
@ -967,9 +969,10 @@
|
|||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "5.26.5",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
||||
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
|
||||
"version": "6.19.6",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz",
|
||||
"integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/util-deprecate": {
|
||||
"version": "1.0.2",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"dev": "tsx watch src",
|
||||
"build": "tsc",
|
||||
"start": "node dist"
|
||||
"start": "node dist --verbose"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
@ -15,7 +15,7 @@
|
|||
"dependencies": {
|
||||
"@mistralai/mistralai": "^0.1.3",
|
||||
"@types/mysql": "^2.15.26",
|
||||
"@types/node": "^20.11.27",
|
||||
"@types/node": "^20.16.0",
|
||||
"canvas": "^2.11.2",
|
||||
"discord.js": "^14.14.1",
|
||||
"dotenv": "^16.4.5",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import MistralClient, { ResponseFormats } from '@mistralai/mistralai';
|
||||
import MistralClient from '@mistralai/mistralai';
|
||||
import "dotenv/config";
|
||||
|
||||
export interface MistralMessage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue