Update config.js
This commit is contained in:
parent
aac6dc4542
commit
7340fc9e43
69
config.js
69
config.js
@ -209,6 +209,75 @@ export default {
|
||||
'condimentX'
|
||||
]
|
||||
|
||||
},
|
||||
|
||||
id: 'Crowley',
|
||||
enabled: true,
|
||||
owner: 378741522822070272,
|
||||
|
||||
discord: {
|
||||
appId: process.env.CROWLEY_DISCORD_APPID,
|
||||
token: process.env.CROWLEY_DISCORD_TOKEN
|
||||
},
|
||||
|
||||
logging: {
|
||||
console: {
|
||||
enabled: true,
|
||||
colorize: true,
|
||||
level: 'silly',
|
||||
},
|
||||
file: {
|
||||
dateFormat: 'YYYY-MM-DD',
|
||||
timestampFormat: 'YYYY-MM-DD HH:mm:ss',
|
||||
combined: {
|
||||
enabled: true,
|
||||
level: 'silly',
|
||||
location: 'logs',
|
||||
maxSize: '12m',
|
||||
maxFiles: '30d',
|
||||
},
|
||||
error: {
|
||||
enabled: true,
|
||||
level: 'error',
|
||||
location: 'logs',
|
||||
maxSize: '12m',
|
||||
maxFiles: '365d',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
pocketbase: {
|
||||
url: process.env.SHARED_POCKETBASE_URL,
|
||||
username: process.env.SHARED_POCKETBASE_USERNAME,
|
||||
password: process.env.SHARED_POCKETBASE_PASSWORD
|
||||
},
|
||||
|
||||
responses: {
|
||||
apiKey: process.env.SHARED_OPENAI_API_KEY,
|
||||
defaultModel: 'gpt-4.1',
|
||||
defaultMaxTokens: 1000,
|
||||
defaultTemperature: 0.7,
|
||||
systemPromptPath: './prompts/crowley.txt',
|
||||
conversationExpiry: 30 * 60 * 1000,
|
||||
minScore: 1.0,
|
||||
tools: {
|
||||
webSearch: true,
|
||||
fileSearch: false,
|
||||
imageGeneration: true,
|
||||
},
|
||||
imageGeneration: {
|
||||
defaultModel: 'gpt-image-1',
|
||||
defaultQuality: 'standard',
|
||||
imageSavePath: './images'
|
||||
}
|
||||
},
|
||||
|
||||
modules: [
|
||||
'pbUtils',
|
||||
'responses',
|
||||
'responsesQuery',
|
||||
]
|
||||
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user