This commit is contained in:
Vikhyath Mondreti
2025-07-03 18:47:22 -07:00
parent 105ede96f9
commit 433e2f9cfc

View File

@@ -649,8 +649,8 @@ export class Executor {
if (this.workflowInput && typeof this.workflowInput === 'object') {
// Check if this is a chat workflow input (has both input and conversationId)
if (
Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') &&
Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId')
Object.hasOwn(this.workflowInput, 'input') &&
Object.hasOwn(this.workflowInput, 'conversationId')
) {
// Chat workflow: extract input and conversationId to root level
const starterOutput = {
@@ -694,8 +694,8 @@ export class Executor {
if (this.workflowInput && typeof this.workflowInput === 'object') {
// Check if this is a chat workflow input (has both input and conversationId)
if (
Object.prototype.hasOwnProperty.call(this.workflowInput, 'input') &&
Object.prototype.hasOwnProperty.call(this.workflowInput, 'conversationId')
Object.hasOwn(this.workflowInput, 'input') &&
Object.hasOwn(this.workflowInput, 'conversationId')
) {
// Chat workflow: extract input and conversationId to root level
starterOutput = {