Browse Source

UI: Fixed check connectivity request for ai models

pull/14481/head
ArtemDzhereleiko 10 months ago
parent
commit
b4303dd051
  1. 4
      ui-ngx/src/app/modules/home/components/ai-model/check-connectivity-dialog.component.ts

4
ui-ngx/src/app/modules/home/components/ai-model/check-connectivity-dialog.component.ts

@ -56,9 +56,7 @@ export class CheckConnectivityDialogComponent extends DialogComponent<CheckConne
},
chatModelConfig: {
modelType: ModelType.CHAT,
provider: this.data.AIModel.configuration.provider,
providerConfig: {...this.data.AIModel.configuration.providerConfig},
modelId: this.data.AIModel.configuration.modelId,
...this.data.AIModel.configuration,
maxRetries: 0,
timeoutSeconds: 20
}

Loading…
Cancel
Save