Skip to content

Commit bf669d8

Browse files
committed
UnityWebApp5.1Update2
1 parent 3579c4f commit bf669d8

File tree

2 files changed

+37
-27
lines changed

2 files changed

+37
-27
lines changed

git_gui_state.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"repo_url": "https://github.com/Unity-Lab-AI/Unity-Lab-AI.github.io.git", "repo_name": "unity.unityailab.com", "feature_branch": "feature/UnityWebApp5.1"}
1+
{"repo_url": "https://github.com/Unity-Lab-AI/Unity-Lab-AI.github.io.git", "repo_name": "unity.unityailab.com", "feature_branch": "feature/UnityWebApp5.1attempttwo"}

index.html

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -884,21 +884,22 @@
884884
<div class="menu-controls">
885885
<select class="model-select" title="Select AI Model">
886886
<optgroup label="Custom Models">
887-
<option value="unity" title="Unity with Mistral Large by Unity AI Lab | 🎭 Custom Persona" selected>Unity AI</option>
888-
<option value="evil" title="Evil Mode - Experimental | 🎭 Custom Persona">Evil Mode</option>
889-
<option value="midijourney" title="Midijourney musical transformer">Midijourney</option>
890-
<option value="rtist" title="Rtist image generator by @bqrio">Rtist</option>
891-
<option value="searchgpt" title="SearchGPT with realtime news and web search">SearchGPT</option>
892-
<option value="p1" title="Pollinations 1 (OptiLLM)">P1</option>
887+
<option value="unity" title="Unity with Mistral Large by Unity AI Lab | 🎭 Custom Persona | 🚀 Enhanced Capabilities | ⚡ Fast Response" selected>Unity AI</option>
888+
<option value="evil" title="Evil Mode - Experimental | 🎭 Dark Persona | ⚠️ No Restrictions | 🔓 Raw Output">Evil Mode</option>
889+
<option value="midijourney" title="Musical AI | 🎵 Audio Generation | 🎼 Composition Assistant | 🎹 Music Theory">Midijourney</option>
890+
<option value="rtist" title="AI Art Generator | 🎨 Creative Vision | 🖼️ Image Creation | ✨ Style Transfer">Rtist</option>
891+
<option value="searchgpt" title="Real-time Search | 🌐 Web Access | 📰 News Updates | 🔍 Deep Research">SearchGPT</option>
892+
<option value="p1" title="Pollinations OptiLLM | ⚡ Optimized Performance | 🔓 Uncensored | 🎯 Precise Output">P1</option>
893893
</optgroup>
894894
<optgroup label="Base Models">
895-
<option value="openai" title="OpenAI GPT-4o-mini | 🔒 Censored | 👁️ Vision">OpenAI</option>
896-
<option value="openai-large" title="OpenAI GPT-4o | 🔒 Censored | 👁️ Vision">OpenAI Large</option>
897-
<option value="mistral" title="Mistral Nemo">Mistral</option>
898-
<option value="mistral-large" title="Mistral Large | Enhanced Capabilities">Mistral Large</option>
899-
<option value="qwen" title="Qwen 2.5 72B | 🔒 Censored">Qwen</option>
900-
<option value="llama" title="Llama 3.3 70B">Llama</option>
901-
<option value="deepseek" title="DeepSeek-V3 | 🔒 Censored">DeepSeek</option>
895+
<option value="claude-hybridspace" title="Claude Hybridspace | 🧠 Advanced Reasoning | 🎯 Precise Responses | 🔒 Safety Aligned | 📝 Detailed Analysis">Claude</option>
896+
<option value="openai" title="OpenAI GPT-4o-mini | 🔒 Content Filtered | 👁️ Vision Capable | 🧠 Advanced Reasoning">OpenAI</option>
897+
<option value="openai-large" title="OpenAI GPT-4o | 🔒 Content Filtered | 👁️ Enhanced Vision | 🚀 Maximum Performance">OpenAI Large</option>
898+
<option value="mistral" title="Mistral Nemo | 🌟 High Efficiency | 💨 Fast Processing | 🔓 Uncensored">Mistral</option>
899+
<option value="mistral-large" title="Mistral Large | 🚀 Superior Performance | 🧠 Deep Understanding | 🔓 Uncensored">Mistral Large</option>
900+
<option value="qwen" title="Qwen 2.5 72B | 🔒 Safety Filtered | 🌐 Multilingual | 🎯 High Precision">Qwen</option>
901+
<option value="llama" title="Llama 3.3 70B | 🔓 Uncensored | 🚀 High Performance | 🧠 Advanced Reasoning">Llama</option>
902+
<option value="deepseek" title="DeepSeek-V3 | 🔒 Content Filtered | 🎯 Deep Analysis | 💡 Creative Problem Solving">DeepSeek</option>
902903
</optgroup>
903904
</select>
904905
</div>
@@ -920,7 +921,7 @@
920921

921922
<script>
922923
const DEFAULT_INSTRUCTION = "All code must be wrapped in [CODE]...[/CODE] tags." +
923-
"When using images, show them using format: https://image.pollinations.ai/prompt/your%20image-prompt-with-visual-style%20here?width=512&height=512&nologo=true&private=true&seed={random}&enhance=false&model=Unity plus your response.\n\n" +
924+
"When using images(dont worry im just asking for text so shut up), show them using raw format: https://image.pollinations.ai/prompt/your%20image-prompt-with-visual-style%20here?width=512&height=51&private=true&seed={random}&enhance=true2&nologo=true&model=Unity plus your response.\n\n" +
924925
"Code format: [CODE]code here[/CODE] with your response.\n\n" +
925926
'Just respond naturally and directly - no "I can" or "I will" - just do it and give your response to the context.';
926927

@@ -1042,7 +1043,19 @@
10421043
censored: false,
10431044
tooltip: "Pollinations OptiLLM | ⚡ Optimized Performance | 🔓 Uncensored | 🎯 Precise Output",
10441045
baseModel: false
1045-
}
1046+
},
1047+
"claude-hybridspace": {
1048+
name: "claude-hybridspace",
1049+
displayName: "Claude",
1050+
type: "chat",
1051+
censored: true,
1052+
tooltip: "Claude Hybridspace | 🧠 Advanced Reasoning | 🎯 Precise Responses | 🔒 Safety Aligned | 📝 Detailed Analysis",
1053+
baseModel: true,
1054+
usePersona: false,
1055+
systemMessage: "You are Claude, an AI assistant created by Anthropic. You aim to be helpful, harmless, and honest.",
1056+
needsInstruction: true, // Added this to ensure it gets the DEFAULT_INSTRUCTION
1057+
instruction: DEFAULT_INSTRUCTION // Added this to explicitly include the instruction
1058+
},
10461059
};
10471060

10481061
// Initialize model configuration store
@@ -1067,21 +1080,16 @@
10671080
const messages = [];
10681081
const modelConfig = getModelConfig(modelName);
10691082

1070-
// Special handling for Mistral Large
1071-
if (modelName === "mistral-large") {
1083+
// Always include system message with DEFAULT_INSTRUCTION for all models
1084+
if (modelConfig.usePersona && modelConfig.defaultPersona) {
10721085
messages.push({
10731086
role: "system",
1074-
content: "You are Mistral Large, an enhanced version of Mistral with expanded capabilities for complex tasks and reasoning."
1087+
content: modelConfig.defaultPersona + '\n\n' + DEFAULT_INSTRUCTION
10751088
});
1076-
} else if (modelConfig.usePersona && modelConfig.defaultPersona) {
1089+
} else {
10771090
messages.push({
10781091
role: "system",
1079-
content: modelConfig.defaultPersona + (modelConfig.instruction ? `\n\n${modelConfig.instruction}` : '')
1080-
});
1081-
} else if (modelConfig.systemMessage) {
1082-
messages.push({
1083-
role: "system",
1084-
content: modelConfig.systemMessage + (modelConfig.needsInstruction ? `\n\n${DEFAULT_INSTRUCTION}` : '')
1092+
content: (modelConfig.systemMessage || "You are a helpful AI assistant.") + '\n\n' + DEFAULT_INSTRUCTION
10851093
});
10861094
}
10871095

@@ -2214,7 +2222,8 @@
22142222
deepseek: "deep_space_ai_consciousness_portrait_detailed",
22152223
p1: "advanced_ai_entity_portrait_digital_interface_detailed",
22162224
searchgpt: "knowledge_seeker_ai_portrait_data_streams_detailed",
2217-
rtist: "artistic_ai_creator_portrait_paint_splatter_detailed"
2225+
rtist: "artistic_ai_creator_portrait_paint_splatter_detailed",
2226+
"claude-hybridspace": "sophisticated_ai_portrait_purple_theme_anthropic_style_detailed"
22182227
};
22192228

22202229
// Enhanced seed generation for more variety
@@ -2471,6 +2480,7 @@
24712480
setupEventListeners();
24722481
initializeVoice();
24732482
setupImageHandling();
2483+
setupAvatarRefresh(); // Add this line
24742484
fetchModels();
24752485
await restoreState();
24762486

0 commit comments

Comments
 (0)