It's explained in the documentation ( Where there is the keyword replace then your replace ... , but you keep org-NuRdGlqfwjzKchAXzaZNcOze as an input filter):Hi Dimugo, I didn't quite understand. Do I have to configure the three lines? Or just the last two with my API data?
Customize the Fiddler rules to replace the Authorization and openai-organization headers:
1. Press CTRL+R to open the built-in script editor.
2. Locate the function: 'static function OnBeforeRequest(oSession: Session)'
3. Add the following code snippet to the script, replacing the placeholders with your own ChatGPT Secret key and organization ID:
if (oSession.oRequest["openai-organization"] === "org-NuRdGlqfwjzKchAXzaZNcOze") {
oSession.oRequest["Authorization"] = "Bearer sk-ReplaceWithYourOwnSecretKey";
oSession.oRequest["openai-organization"] = "org-ReplaceWithYourOwnOrgID";
}