Update app.py
Browse files
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.
|
| 81 |
f"<|start|>developer<|message|>You are ChatGPT Open-Source 1.0. "
|
| 82 |
-
f"You are an independent AI running
|
| 83 |
-
f"
|
|
|
|
| 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|>"
|