From dad84f6e25ce68184c2508b0a073ab8d27f7ce34 Mon Sep 17 00:00:00 2001 From: Tony Powell Date: Mon, 2 Dec 2024 15:20:38 -0500 Subject: [PATCH] Always show invocation params for azure --- app/src/pages/playground/InvocationParametersFormFields.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/pages/playground/InvocationParametersFormFields.tsx b/app/src/pages/playground/InvocationParametersFormFields.tsx index 4a1197d12a..77734c9331 100644 --- a/app/src/pages/playground/InvocationParametersFormFields.tsx +++ b/app/src/pages/playground/InvocationParametersFormFields.tsx @@ -310,7 +310,8 @@ export const InvocationParametersFormFields = ({ }, [form]); // Don't bother rendering the form if the model name is not set - if (model.modelName === null) { + // Except for Azure OpenAI, where the model name does not influence the invocation parameters + if (model.provider !== "AZURE_OPENAI" && model.modelName === null) { return null; }