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