Browse Source

Merge pull request #14481 from ArtemDzhereleiko/AD/bug-fix/ai-models-test-chat

Fixed check connectivity request for AI models
pull/14485/head
Vladyslav Prykhodko 6 months ago
committed by GitHub
parent
commit
fbd8381d98
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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