@@ -2290,7 +2290,7 @@ describe('hasWorkflowChanged', () => {
22902290 block1 : createBlock ( 'block1' , {
22912291 type : 'starter' ,
22922292 subBlocks : {
2293- triggerConfig : { value : { event : 'push' } } ,
2293+ model : { value : 'gpt-4' } ,
22942294 webhookId : { value : null } ,
22952295 } ,
22962296 } ) ,
@@ -2302,7 +2302,7 @@ describe('hasWorkflowChanged', () => {
23022302 block1 : createBlock ( 'block1' , {
23032303 type : 'starter' ,
23042304 subBlocks : {
2305- triggerConfig : { value : { event : 'push' } } ,
2305+ model : { value : 'gpt-4' } ,
23062306 webhookId : { value : 'wh_123456' } ,
23072307 } ,
23082308 } ) ,
@@ -2318,7 +2318,7 @@ describe('hasWorkflowChanged', () => {
23182318 block1 : createBlock ( 'block1' , {
23192319 type : 'starter' ,
23202320 subBlocks : {
2321- triggerConfig : { value : { event : 'push' } } ,
2321+ model : { value : 'gpt-4' } ,
23222322 triggerPath : { value : '' } ,
23232323 } ,
23242324 } ) ,
@@ -2330,7 +2330,7 @@ describe('hasWorkflowChanged', () => {
23302330 block1 : createBlock ( 'block1' , {
23312331 type : 'starter' ,
23322332 subBlocks : {
2333- triggerConfig : { value : { event : 'push' } } ,
2333+ model : { value : 'gpt-4' } ,
23342334 triggerPath : { value : '/api/webhooks/abc123' } ,
23352335 } ,
23362336 } ) ,
@@ -2346,7 +2346,7 @@ describe('hasWorkflowChanged', () => {
23462346 block1 : createBlock ( 'block1' , {
23472347 type : 'starter' ,
23482348 subBlocks : {
2349- triggerConfig : { value : { event : 'push' } } ,
2349+ model : { value : 'gpt-4' } ,
23502350 webhookId : { value : null } ,
23512351 triggerPath : { value : '' } ,
23522352 } ,
@@ -2359,7 +2359,7 @@ describe('hasWorkflowChanged', () => {
23592359 block1 : createBlock ( 'block1' , {
23602360 type : 'starter' ,
23612361 subBlocks : {
2362- triggerConfig : { value : { event : 'push' } } ,
2362+ model : { value : 'gpt-4' } ,
23632363 webhookId : { value : 'wh_123456' } ,
23642364 triggerPath : { value : '/api/webhooks/abc123' } ,
23652365 } ,
@@ -2477,7 +2477,7 @@ describe('hasWorkflowChanged', () => {
24772477 block1 : createBlock ( 'block1' , {
24782478 type : 'starter' ,
24792479 subBlocks : {
2480- triggerConfig : { value : { event : 'push' } } ,
2480+ model : { value : 'gpt-4' } ,
24812481 webhookId : { value : 'wh_old123' } ,
24822482 triggerPath : { value : '/api/webhooks/old' } ,
24832483 } ,
@@ -2490,7 +2490,7 @@ describe('hasWorkflowChanged', () => {
24902490 block1 : createBlock ( 'block1' , {
24912491 type : 'starter' ,
24922492 subBlocks : {
2493- triggerConfig : { value : { event : 'push' } } ,
2493+ model : { value : 'gpt-4' } ,
24942494 } ,
24952495 } ) ,
24962496 } ,
0 commit comments