Skip to content

Commit d8ffa83

Browse files
committed
fix(llm): multi-provider validation
1 parent 966a6a0 commit d8ffa83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gravitee-apim-console-webui/src/management/api/endpoints-v4/llm-provider/api-llm-provider.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
@if (showConfiguration && providerSchema?.config) {
4646
<div class="endpoint-card__form__field">
47-
@if (formGroup.errors?.providerMismatch; as mismatch) {
47+
@if (formGroup.dirty && formGroup.errors?.providerMismatch; as mismatch) {
4848
<gio-banner-error> All endpoints in this group must use the same provider ({{ mismatch.expected }}). </gio-banner-error>
4949
}
5050
<gio-form-json-schema formControlName="configuration" [jsonSchema]="providerSchema.config"></gio-form-json-schema>

0 commit comments

Comments
 (0)