Add about page the the AI assistant and conditional loading

This commit is contained in:
2025-08-29 04:06:40 -03:00
parent 9eac2be673
commit 7113d72a7c
19 changed files with 222 additions and 20 deletions

View File

@@ -150,6 +150,11 @@ let defaultOptions = {
isEmulatorCompatible: isEmulatorCompatible,
isNonGameContent: isNonGameContent,
nonGameTerms: nonGameTerms,
aiEnabled: process.env.AI_ENABLED === 'true',
aiConfig: {
apiUrl: process.env.AI_API_URL || 'https://example.com',
model: process.env.AI_MODEL || 'default',
},
};
function updateDefaults() {