File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,19 @@ export const AgentBlock: BlockConfig<AgentResponse> = {
110110 } )
111111 } ,
112112 } ,
113-
113+ {
114+ id : 'vertexCredential' ,
115+ title : 'Google Cloud Account' ,
116+ type : 'oauth-input' ,
117+ serviceId : 'vertex-ai' ,
118+ requiredScopes : [ 'https://www.googleapis.com/auth/cloud-platform' ] ,
119+ placeholder : 'Select Google Cloud account' ,
120+ required : true ,
121+ condition : {
122+ field : 'model' ,
123+ value : providers . vertex . models ,
124+ } ,
125+ } ,
114126 {
115127 id : 'reasoningEffort' ,
116128 title : 'Reasoning Effort' ,
@@ -314,19 +326,6 @@ export const AgentBlock: BlockConfig<AgentResponse> = {
314326 value : providers . vertex . models ,
315327 } ,
316328 } ,
317- {
318- id : 'vertexCredential' ,
319- title : 'Google Cloud Account' ,
320- type : 'oauth-input' ,
321- serviceId : 'vertex-ai' ,
322- requiredScopes : [ 'https://www.googleapis.com/auth/cloud-platform' ] ,
323- placeholder : 'Select Google Cloud account' ,
324- required : true ,
325- condition : {
326- field : 'model' ,
327- value : providers . vertex . models ,
328- } ,
329- } ,
330329 {
331330 id : 'tools' ,
332331 title : 'Tools' ,
You can’t perform that action at this time.
0 commit comments