Skip to content

Commit

Permalink
Always show invocation params for azure
Browse files Browse the repository at this point in the history
  • Loading branch information
cephalization committed Dec 2, 2024
1 parent 1abaa04 commit dad84f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/pages/playground/InvocationParametersFormFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dad84f6

Please sign in to comment.