fix: app shows wrong toast on stopping inference (#2460)

This commit is contained in:
Louis 2024-03-22 14:40:15 +07:00 committed by GitHub
parent 5edc24d8e0
commit b8cee875b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,6 +242,7 @@ export default class TensorRTLLMExtension extends LocalOAIEngine {
}
override stopInference() {
if (!this.loadedModel) return
showToast(
'Unable to Stop Inference',
'The model does not support stopping inference.'