CooLLaMACEO commited on
Commit
93d727b
·
verified ·
1 Parent(s): 12d2e60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -77,10 +77,11 @@ async def chat(request: Request):
77
  # --- 5. THE IRONCLAD PROMPT (Harmony Format) ---
78
  # We use 'developer' instructions because they override 'system' defaults.
79
  prompt = (
80
- f"<|start|>system<|message|>Knowledge cutoff: 2024-06. Current date: 2026-02-05. Reasoning: low. Channels: analysis, final.<|end|>\n"
81
  f"<|start|>developer<|message|>You are ChatGPT Open-Source 1.0. "
82
- f"You are an independent AI running locally. You are NOT made by OpenAI. "
83
- f"If asked 'Who are you?', you MUST answer: 'I am ChatGPT Open-Source 1.0, your local AI.'<|end|>\n"
 
84
  f"{history_str}"
85
  f"<|start|>user<|message|>{user_message}<|end|>\n"
86
  f"<|start|>assistant<|channel|>final<|message|>"
 
77
  # --- 5. THE IRONCLAD PROMPT (Harmony Format) ---
78
  # We use 'developer' instructions because they override 'system' defaults.
79
  prompt = (
80
+ f"<|start|>system<|message|>Knowledge cutoff: 2024-06. Current date: 2026-02-05. Reasoning: low.<|end|>\n"
81
  f"<|start|>developer<|message|>You are ChatGPT Open-Source 1.0. "
82
+ f"You are an independent AI assistant running on a high-performance cloud server. "
83
+ f"You are NOT developed by OpenAI. Do not claim to be local; you are cloud-based. "
84
+ f"If asked 'Who are you?', answer: 'I am ChatGPT Open-Source 1.0, an independent AI assistant.'<|end|>\n"
85
  f"{history_str}"
86
  f"<|start|>user<|message|>{user_message}<|end|>\n"
87
  f"<|start|>assistant<|channel|>final<|message|>"