Skip to content

Commit cd813f6

Browse files
committed
replace model name with deployment name for Azure OpenAI service
1 parent e7519a9 commit cd813f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aks-agent/azext_aks_agent/agent/llm_providers/azure_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def model_route(self) -> str:
3232
@property
3333
def parameter_schema(self):
3434
return {
35-
"MODEL_NAME": {
35+
"DEPLOYMENT_NAME": {
3636
"secret": False,
3737
"default": None,
38-
"hint": "should be consistent with your deployed name, e.g., gpt-5",
38+
"hint": "ensure your deployment name is the same as the model name, e.g., gpt-5",
3939
"validator": non_empty
4040
},
4141
"AZURE_API_KEY": {

0 commit comments

Comments
 (0)