|
884 | 884 | <div class="menu-controls"> |
885 | 885 | <select class="model-select" title="Select AI Model"> |
886 | 886 | <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> |
893 | 893 | </optgroup> |
894 | 894 | <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> |
902 | 903 | </optgroup> |
903 | 904 | </select> |
904 | 905 | </div> |
|
920 | 921 |
|
921 | 922 | <script> |
922 | 923 | 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" + |
924 | 925 | "Code format: [CODE]code here[/CODE] with your response.\n\n" + |
925 | 926 | 'Just respond naturally and directly - no "I can" or "I will" - just do it and give your response to the context.'; |
926 | 927 |
|
|
1042 | 1043 | censored: false, |
1043 | 1044 | tooltip: "Pollinations OptiLLM | ⚡ Optimized Performance | 🔓 Uncensored | 🎯 Precise Output", |
1044 | 1045 | 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 | + }, |
1046 | 1059 | }; |
1047 | 1060 |
|
1048 | 1061 | // Initialize model configuration store |
|
1067 | 1080 | const messages = []; |
1068 | 1081 | const modelConfig = getModelConfig(modelName); |
1069 | 1082 |
|
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) { |
1072 | 1085 | messages.push({ |
1073 | 1086 | 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 |
1075 | 1088 | }); |
1076 | | - } else if (modelConfig.usePersona && modelConfig.defaultPersona) { |
| 1089 | + } else { |
1077 | 1090 | messages.push({ |
1078 | 1091 | 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 |
1085 | 1093 | }); |
1086 | 1094 | } |
1087 | 1095 |
|
|
2214 | 2222 | deepseek: "deep_space_ai_consciousness_portrait_detailed", |
2215 | 2223 | p1: "advanced_ai_entity_portrait_digital_interface_detailed", |
2216 | 2224 | 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" |
2218 | 2227 | }; |
2219 | 2228 |
|
2220 | 2229 | // Enhanced seed generation for more variety |
|
2471 | 2480 | setupEventListeners(); |
2472 | 2481 | initializeVoice(); |
2473 | 2482 | setupImageHandling(); |
| 2483 | + setupAvatarRefresh(); // Add this line |
2474 | 2484 | fetchModels(); |
2475 | 2485 | await restoreState(); |
2476 | 2486 |
|
|
0 commit comments