AchyuthGamer
commited on
Commit
•
f4314fb
1
Parent(s):
12a8290
Update server/backend.py
Browse files- server/backend.py +3 -3
server/backend.py
CHANGED
@@ -167,10 +167,10 @@ def getJailbreak(jailbreak):
|
|
167 |
:return: Jailbreak instructions if provided, otherwise None
|
168 |
"""
|
169 |
if jailbreak != "gpt-default":
|
170 |
-
special_instructions['content'] += special_instructions['two_responses_instruction']
|
171 |
if jailbreak in special_instructions:
|
172 |
-
special_instructions[
|
173 |
-
return special_instructions[
|
174 |
else:
|
175 |
return None
|
176 |
else:
|
|
|
167 |
:return: Jailbreak instructions if provided, otherwise None
|
168 |
"""
|
169 |
if jailbreak != "gpt-default":
|
170 |
+
special_instructions[jailbreak][0]['content'] += special_instructions['two_responses_instruction']
|
171 |
if jailbreak in special_instructions:
|
172 |
+
special_instructions[jailbreak]
|
173 |
+
return special_instructions[jailbreak]
|
174 |
else:
|
175 |
return None
|
176 |
else:
|