@@ -146,6 +146,31 @@ export const AgentBlock: BlockConfig<AgentResponse> = {
146146 }
147147 : undefined , // Show for all models in non-hosted environments
148148 } ,
149+ {
150+ id : 'azureEndpoint' ,
151+ title : 'Azure OpenAI Endpoint' ,
152+ type : 'short-input' ,
153+ layout : 'full' ,
154+ password : true ,
155+ placeholder : 'https://your-resource.openai.azure.com' ,
156+ connectionDroppable : false ,
157+ condition : {
158+ field : 'model' ,
159+ value : [ 'azure/gpt-4o' , 'azure/o3' , 'azure/o4-mini' , 'azure/gpt-4.1' , 'azure/model-router' ] ,
160+ } ,
161+ } ,
162+ {
163+ id : 'azureApiVersion' ,
164+ title : 'Azure API Version' ,
165+ type : 'short-input' ,
166+ layout : 'full' ,
167+ placeholder : '2024-07-01-preview' ,
168+ connectionDroppable : false ,
169+ condition : {
170+ field : 'model' ,
171+ value : [ 'azure/gpt-4o' , 'azure/o3' , 'azure/o4-mini' , 'azure/gpt-4.1' , 'azure/model-router' ] ,
172+ } ,
173+ } ,
149174 {
150175 id : 'tools' ,
151176 title : 'Tools' ,
@@ -237,6 +262,8 @@ export const AgentBlock: BlockConfig<AgentResponse> = {
237262 memories : { type : 'json' , required : false } ,
238263 model : { type : 'string' , required : true } ,
239264 apiKey : { type : 'string' , required : true } ,
265+ azureEndpoint : { type : 'string' , required : false } ,
266+ azureApiVersion : { type : 'string' , required : false } ,
240267 responseFormat : {
241268 type : 'json' ,
242269 required : false ,
0 commit comments