Compare commits
2 Commits
efc45f2103
...
f222922643
Author | SHA1 | Date |
---|---|---|
|
f222922643 | |
|
c4d328b409 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.24.7",
|
||||
"version": "1.24.8",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "schat2-clive",
|
||||
"version": "1.24.7",
|
||||
"version": "1.24.8",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"better-sqlite3": "^8.3.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.24.7",
|
||||
"version": "1.24.8",
|
||||
"description": "Game host for SChat 2-powered chat sites",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -188,6 +188,7 @@ async function onCommand(args, context) {
|
|||
model: settings.model,
|
||||
max_tokens: config.chat.replyTokenLimit,
|
||||
messages: userHistory,
|
||||
user: `${context.user.id}:${context.user.username}`,
|
||||
}), {
|
||||
headers: {
|
||||
Authorization: `Bearer ${config.chat.apiKey}`,
|
||||
|
|
Loading…
Reference in New Issue