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();report of bug: clicking of log id
-
clicking the log id often makes the complete log disappear
-
Do you mean this?

What version of BAS are you using?
In what circumstances does this occur?
Please attach a test project that replicates this here or in a forum PM. -
yes . i am using the custom logging tool from this form that adds color. may that be the cause of issue?