We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e49c53 commit ca37fcdCopy full SHA for ca37fcd
src/main/wrapper/CxWrapper.ts
@@ -309,10 +309,10 @@ export class CxWrapper {
309
CxConstants.CMD_CHAT_VULNERABILITY, vulnerability,
310
CxConstants.CMD_CHAT_INPUT, input,
311
];
312
- if (!!conversationId) {
+ if (conversationId) {
313
commands.push(CxConstants.CMD_CHAT_CONVERSATION_ID, conversationId)
314
}
315
- if (!!model) {
+ if (model) {
316
commands.push(CxConstants.CMD_CHAT_MODEL, model)
317
318
commands.push(...this.initializeCommands(false));
0 commit comments