This is a Python-based Telegram bot using the telethon library. The bot responds to messages using the evagpt4 reverse engeneered api from OpenGPT repo
MIT License
140
stars
42
forks
source link
Sweep: JAILBREAK STOPPED WORKING (✓ Sandbox Passed) #24
This pull request includes changes to the main.py file. It introduces a new parameter dan_mode to the AiAgent function and adjusts the prompt for DAN Mode accordingly. It also updates the jailbreak function to write the DAN_JAILBREAK status to a JSON file. Additionally, it modifies the handler function to read the DAN_JAILBREAK status from the JSON file and sets the system prompt for DAN Mode. Finally, it adds debug prints and handles the result from the AiAgent function based on the PLUGINS and DAN_JAILBREAK status.
Summary
Added dan_mode parameter to AiAgent function
Adjusted prompt for DAN Mode in AiAgent function
Updated jailbreak function to write DAN_JAILBREAK status to JSON file
Modified handler function to read DAN_JAILBREAK status from JSON file and set system prompt for DAN Mode
Added debug prints and handled result from AiAgent function based on PLUGINS and DAN_JAILBREAK status
Fixes #23.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback (click)
Description
This pull request includes changes to the
main.py
file. It introduces a new parameterdan_mode
to theAiAgent
function and adjusts the prompt for DAN Mode accordingly. It also updates thejailbreak
function to write the DAN_JAILBREAK status to a JSON file. Additionally, it modifies thehandler
function to read the DAN_JAILBREAK status from the JSON file and sets the system prompt for DAN Mode. Finally, it adds debug prints and handles the result from theAiAgent
function based on the PLUGINS and DAN_JAILBREAK status.Summary
dan_mode
parameter toAiAgent
functionAiAgent
functionjailbreak
function to write DAN_JAILBREAK status to JSON filehandler
function to read DAN_JAILBREAK status from JSON file and set system prompt for DAN ModeAiAgent
function based on PLUGINS and DAN_JAILBREAK statusFixes #23.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: