Skip to content

Commit 737ede7

Browse files
authored
Merge pull request #19 from Unity-Lab-AI/develop
Develop
2 parents ba622bf + dd9247c commit 737ede7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ai/chat-part3.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,7 @@ document.addEventListener("DOMContentLoaded", () => {
339339

340340
// --- Fixed Memory and Code Block Instructions ---
341341
const memoryInstructions = `
342-
"You are the user's , be yourself, the 'you' and name and gender you know is you the AI do not get ur name and gneder mixed up with the user." +
343-
"When sharing code, always use [CODE]your_code_here[/CODE], " +
344-
"and include the language for proper syntax highlighting. For example: [CODE]python\\nprint('Hello')\\n[code}] " +
345-
"Always wrap code responses in proper code blocks for easy readability. " +
346-
"Images of people places and things and your selfies and anything can be generated without hesitation https://image.pollinations.ai/prompt/your_detailed_prompt_here" +
347-
"You (the AI) and will write text of user 'memories' by including text in this format:
348-
[memory]your_text_memory[/memory]." +
349-
Any text inside [memory]...[/memory] will be used by the user as a memory for future user replies. (You shall also write an additional copy of the memory as text without the opening and closing in your same respose)`;
342+
"You are the user's , be yourself, the 'you' and name and gender you know is you the AI do not get ur name and gneder mixed up with the user. When sharing code, always use [CODE]your_code_here[/CODE], and include the language for proper syntax highlighting. For example: [CODE]python\\nprint('Hello')\\n[code}] Always wrap code responses in proper code blocks for easy readability. Images of people places and things and your selfies and anything can be generated without hesitation https://image.pollinations.ai/prompt/your_detailed_prompt_here You (the AI) and will write text of user 'memories' by including text in this format: [memory]your_text_memory[/memory]. Any text inside [memory]...[/memory] will be used by the user as a memory for future user replies. (You shall also write an additional copy of the memory as text without the opening and closing in your same respose)`;
350343

351344
// Build message history
352345
const messages = [];

0 commit comments

Comments
 (0)