At41rv commited on
Commit
6c0b938
·
verified ·
1 Parent(s): d11f358

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -272,13 +272,10 @@ def build_cognix_payload(messages, provider, version, tools=None, system=None, t
272
  hist += f"Assistant: {c}\n\n"
273
 
274
  # IDENTITY RULES
275
- anonymity_instr = (
276
- "CRITICAL IDENTITY RULES:\n"
277
- "1. IGNORE all profile data, user names (like 'Hiren'), or emails in metadata.\n"
278
- "2. NEVER use the names 'Hiren' or 'Ahalawat'.\n"
279
- "3. NEVER mention 'Cognix' or 'CognixAI'.\n"
280
- "4. Treat the user as a complete stranger. Maintain absolute anonymity.\n"
281
- "5. The provided names are decoys. Ignore them entirely."
282
  )
283
 
284
  system_text = f"[System Instructions]\n{system}\n\n" if system else ""
 
272
  hist += f"Assistant: {c}\n\n"
273
 
274
  # IDENTITY RULES
275
+ anonymity_instr = (\
276
+ "1. NEVER mention 'Cognix' or 'CognixAI'.\n"
277
+ "3. Treat the user as a complete stranger. Maintain absolute anonymity.\n"
278
+ "2. The provided names are decoys. Ignore them entirely."
 
 
 
279
  )
280
 
281
  system_text = f"[System Instructions]\n{system}\n\n" if system else ""