@@ -154,6 +154,7 @@ Return ONLY the JSON array.`,
154154 type : 'dropdown' ,
155155 placeholder : 'Select reasoning effort...' ,
156156 options : [
157+ { label : 'auto' , id : 'auto' } ,
157158 { label : 'low' , id : 'low' } ,
158159 { label : 'medium' , id : 'medium' } ,
159160 { label : 'high' , id : 'high' } ,
@@ -163,9 +164,12 @@ Return ONLY the JSON array.`,
163164 const { useSubBlockStore } = await import ( '@/stores/workflows/subblock/store' )
164165 const { useWorkflowRegistry } = await import ( '@/stores/workflows/registry/store' )
165166
167+ const autoOption = { label : 'auto' , id : 'auto' }
168+
166169 const activeWorkflowId = useWorkflowRegistry . getState ( ) . activeWorkflowId
167170 if ( ! activeWorkflowId ) {
168171 return [
172+ autoOption ,
169173 { label : 'low' , id : 'low' } ,
170174 { label : 'medium' , id : 'medium' } ,
171175 { label : 'high' , id : 'high' } ,
@@ -178,6 +182,7 @@ Return ONLY the JSON array.`,
178182
179183 if ( ! modelValue ) {
180184 return [
185+ autoOption ,
181186 { label : 'low' , id : 'low' } ,
182187 { label : 'medium' , id : 'medium' } ,
183188 { label : 'high' , id : 'high' } ,
@@ -187,15 +192,16 @@ Return ONLY the JSON array.`,
187192 const validOptions = getReasoningEffortValuesForModel ( modelValue )
188193 if ( ! validOptions ) {
189194 return [
195+ autoOption ,
190196 { label : 'low' , id : 'low' } ,
191197 { label : 'medium' , id : 'medium' } ,
192198 { label : 'high' , id : 'high' } ,
193199 ]
194200 }
195201
196- return validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) )
202+ return [ autoOption , ... validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) ) ]
197203 } ,
198- value : ( ) => 'medium ',
204+ mode : 'advanced ',
199205 condition : {
200206 field : 'model' ,
201207 value : MODELS_WITH_REASONING_EFFORT ,
@@ -207,6 +213,7 @@ Return ONLY the JSON array.`,
207213 type : 'dropdown' ,
208214 placeholder : 'Select verbosity...' ,
209215 options : [
216+ { label : 'auto' , id : 'auto' } ,
210217 { label : 'low' , id : 'low' } ,
211218 { label : 'medium' , id : 'medium' } ,
212219 { label : 'high' , id : 'high' } ,
@@ -216,9 +223,12 @@ Return ONLY the JSON array.`,
216223 const { useSubBlockStore } = await import ( '@/stores/workflows/subblock/store' )
217224 const { useWorkflowRegistry } = await import ( '@/stores/workflows/registry/store' )
218225
226+ const autoOption = { label : 'auto' , id : 'auto' }
227+
219228 const activeWorkflowId = useWorkflowRegistry . getState ( ) . activeWorkflowId
220229 if ( ! activeWorkflowId ) {
221230 return [
231+ autoOption ,
222232 { label : 'low' , id : 'low' } ,
223233 { label : 'medium' , id : 'medium' } ,
224234 { label : 'high' , id : 'high' } ,
@@ -231,6 +241,7 @@ Return ONLY the JSON array.`,
231241
232242 if ( ! modelValue ) {
233243 return [
244+ autoOption ,
234245 { label : 'low' , id : 'low' } ,
235246 { label : 'medium' , id : 'medium' } ,
236247 { label : 'high' , id : 'high' } ,
@@ -240,15 +251,16 @@ Return ONLY the JSON array.`,
240251 const validOptions = getVerbosityValuesForModel ( modelValue )
241252 if ( ! validOptions ) {
242253 return [
254+ autoOption ,
243255 { label : 'low' , id : 'low' } ,
244256 { label : 'medium' , id : 'medium' } ,
245257 { label : 'high' , id : 'high' } ,
246258 ]
247259 }
248260
249- return validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) )
261+ return [ autoOption , ... validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) ) ]
250262 } ,
251- value : ( ) => 'medium ',
263+ mode : 'advanced ',
252264 condition : {
253265 field : 'model' ,
254266 value : MODELS_WITH_VERBOSITY ,
@@ -260,6 +272,7 @@ Return ONLY the JSON array.`,
260272 type : 'dropdown' ,
261273 placeholder : 'Select thinking level...' ,
262274 options : [
275+ { label : 'none' , id : 'none' } ,
263276 { label : 'minimal' , id : 'minimal' } ,
264277 { label : 'low' , id : 'low' } ,
265278 { label : 'medium' , id : 'medium' } ,
@@ -271,36 +284,29 @@ Return ONLY the JSON array.`,
271284 const { useSubBlockStore } = await import ( '@/stores/workflows/subblock/store' )
272285 const { useWorkflowRegistry } = await import ( '@/stores/workflows/registry/store' )
273286
287+ const noneOption = { label : 'none' , id : 'none' }
288+
274289 const activeWorkflowId = useWorkflowRegistry . getState ( ) . activeWorkflowId
275290 if ( ! activeWorkflowId ) {
276- return [
277- { label : 'low' , id : 'low' } ,
278- { label : 'high' , id : 'high' } ,
279- ]
291+ return [ noneOption , { label : 'low' , id : 'low' } , { label : 'high' , id : 'high' } ]
280292 }
281293
282294 const workflowValues = useSubBlockStore . getState ( ) . workflowValues [ activeWorkflowId ]
283295 const blockValues = workflowValues ?. [ blockId ]
284296 const modelValue = blockValues ?. model as string
285297
286298 if ( ! modelValue ) {
287- return [
288- { label : 'low' , id : 'low' } ,
289- { label : 'high' , id : 'high' } ,
290- ]
299+ return [ noneOption , { label : 'low' , id : 'low' } , { label : 'high' , id : 'high' } ]
291300 }
292301
293302 const validOptions = getThinkingLevelsForModel ( modelValue )
294303 if ( ! validOptions ) {
295- return [
296- { label : 'low' , id : 'low' } ,
297- { label : 'high' , id : 'high' } ,
298- ]
304+ return [ noneOption , { label : 'low' , id : 'low' } , { label : 'high' , id : 'high' } ]
299305 }
300306
301- return validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) )
307+ return [ noneOption , ... validOptions . map ( ( opt ) => ( { label : opt , id : opt } ) ) ]
302308 } ,
303- value : ( ) => 'high ',
309+ mode : 'advanced ',
304310 condition : {
305311 field : 'model' ,
306312 value : MODELS_WITH_THINKING ,
@@ -391,6 +397,16 @@ Return ONLY the JSON array.`,
391397 value : providers . bedrock . models ,
392398 } ,
393399 } ,
400+ {
401+ id : 'apiKey' ,
402+ title : 'API Key' ,
403+ type : 'short-input' ,
404+ placeholder : 'Enter your API key' ,
405+ password : true ,
406+ connectionDroppable : false ,
407+ required : true ,
408+ condition : getApiKeyCondition ( ) ,
409+ } ,
394410 {
395411 id : 'tools' ,
396412 title : 'Tools' ,
@@ -403,16 +419,6 @@ Return ONLY the JSON array.`,
403419 type : 'skill-input' ,
404420 defaultValue : [ ] ,
405421 } ,
406- {
407- id : 'apiKey' ,
408- title : 'API Key' ,
409- type : 'short-input' ,
410- placeholder : 'Enter your API key' ,
411- password : true ,
412- connectionDroppable : false ,
413- required : true ,
414- condition : getApiKeyCondition ( ) ,
415- } ,
416422 {
417423 id : 'memoryType' ,
418424 title : 'Memory' ,
@@ -467,6 +473,7 @@ Return ONLY the JSON array.`,
467473 min : 0 ,
468474 max : 1 ,
469475 defaultValue : 0.3 ,
476+ mode : 'advanced' ,
470477 condition : ( ) => ( {
471478 field : 'model' ,
472479 value : ( ( ) => {
@@ -484,6 +491,7 @@ Return ONLY the JSON array.`,
484491 min : 0 ,
485492 max : 2 ,
486493 defaultValue : 0.3 ,
494+ mode : 'advanced' ,
487495 condition : ( ) => ( {
488496 field : 'model' ,
489497 value : ( ( ) => {
@@ -499,6 +507,7 @@ Return ONLY the JSON array.`,
499507 title : 'Max Output Tokens' ,
500508 type : 'short-input' ,
501509 placeholder : 'Enter max tokens (e.g., 4096)...' ,
510+ mode : 'advanced' ,
502511 } ,
503512 {
504513 id : 'responseFormat' ,
0 commit comments