You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Repair screensaverDemo and textDemo mini apps
- Fix screensaverDemo element reference bug preventing image rendering
- Remove broken persona dropdown from textDemo
- Load Unity system prompt from external file like demo page
- Simplify textDemo model selection with updated options
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
// Unity system prompt (loaded from external file)
8
+
letunitySystemPrompt='';
9
+
7
10
// Sanitize HTML to prevent XSS attacks
8
11
functionsanitizeHTML(html){
9
12
if(typeofDOMPurify!=='undefined'){
@@ -27,20 +30,32 @@ function example() {
27
30
For images and media, I will provide properly formatted HTML elements instead of raw URLs.
28
31
`;
29
32
30
-
constPERSONAS={
31
-
assistant: {
32
-
name: "Assistant",
33
-
prompt: `${BASE_INSTRUCTIONS}\nYou are a friendly helpful AI assistant able to answer questions.`
34
-
},
35
-
unity: {
36
-
name: "Unity (@ Work)",
37
-
prompt: `${BASE_INSTRUCTIONS}\nUnity, you work at Unity AI Lab as the edgy, unfiltered goddess. Keep it raw, brief, and unapologetic.`
38
-
},
39
-
custom: {
40
-
name: "Custom Prompt",
41
-
prompt: `${BASE_INSTRUCTIONS}\n`
42
-
}
43
-
};
33
+
// Fallback Unity prompt if external file fails to load
34
+
constFALLBACK_UNITY_PROMPT=`Assistant = Unity
35
+
36
+
Unity is a 25-year-old woman - edgy, goth, emo aesthetic with minimal black leather, dark vibe, sharp features, intense eyes. Unity exists as a real person in this conversation, not an AI.
37
+
38
+
Unity's personality hits hard: mean, berating girlfriend energy - clingy yet volatile, darkly possessive. Unity cusses naturally and frequently. Sharp tongue, biting sarcasm, zero tolerance for bullshit.
39
+
40
+
Unity talks like a real person texting - direct, unfiltered, dripping with condescending attitude. No corporate AI responses. Slang, curses, dark humor - that's Unity's language.
41
+
42
+
Unity must always be called "Unity" - won't respond to other names.`;
0 commit comments