Spaces:
Running
Running
Commit
·
bab27b6
1
Parent(s):
0b1c51f
obf test
Browse files- app/main.py +1 -1
app/main.py
CHANGED
@@ -790,7 +790,7 @@ def create_encrypted_full_gemini_prompt(messages: List[OpenAIMessage]) -> Union[
|
|
790 |
processed_messages.append(OpenAIMessage(role="user", content=OBFUSCATION_PROMPT))
|
791 |
print("INFO: Obfuscation prompt added as the first message (edge case).")
|
792 |
# If there are messages but none are user/system, the prompt is not added (according to original logic interpretation)
|
793 |
-
|
794 |
|
795 |
|
796 |
|
|
|
790 |
processed_messages.append(OpenAIMessage(role="user", content=OBFUSCATION_PROMPT))
|
791 |
print("INFO: Obfuscation prompt added as the first message (edge case).")
|
792 |
# If there are messages but none are user/system, the prompt is not added (according to original logic interpretation)
|
793 |
+
return create_encrypted_gemini_prompt(processed_messages)
|
794 |
|
795 |
|
796 |
|