It does not work if I do this:
const OpenAI = require('openai'); const openai = new OpenAI({ apiKey: [[CHATGPTAPIKEY]] }); async function main() { const completion = await openai.chat.completions.create({ model: [[MODEL]], messages: [ {"role": "system", "content": "You are a "+[[COMMENTSTYLE]]+" assistant."}, {"role": "user", "content": [[SAVED_TEXT]]} ], temperature: [[TEMPERATURE2]], max_tokens: 150, stop: ["\n", "User:"], n: 1 }); [[OUTPUT]] = completion.choices[0]; } main();Result of expression 'proxy_string.replace' [undefined] is not a function
-
Hello support, i am stuck when everything was going good. i requested a proxy with API , And I logged the proxy so its looking good Proxy:port But when I set the proxy it says this. Result of expression 'proxy_string.replace' [undefined] is not a function, Need help


-
@afridymhamude1 said in Result of expression 'proxy_string.replace' [undefined] is not a function:
Hello support, i am stuck when everything was going good. i requested a proxy with API , And I logged the proxy so its looking good Proxy:port But when I set the proxy it says this. Result of expression 'proxy_string.replace' [undefined] is not a function, Need help
use the "First match" action