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();List of Built-in Variables
-
Hello,
is there a list of the BAS built-in variables like "path to the current project folder", script runtime and so on?
Thank you.
-
@morpheus93 said in List of Built-in Variables:
Hello,
is there a list of the BAS built-in variables like "path to the current project folder",

script runtime and so on?
Thank you.No, you can calculate this parameter yourself
