mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Fix unused onAbort variable causing build failure
Co-Authored-By: Danial Piterson <danial.samiei@gmail.com>
This commit is contained in:
parent
16d75aa9f7
commit
7b38339ea0
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ if (!isWeb) {
|
|||
) { super(); }
|
||||
|
||||
sendLLMMessage(params: ServiceSendLLMMessageParams): string | null {
|
||||
const { onText, onFinalMessage, onError, onAbort, modelSelection } = params;
|
||||
const { onText, onFinalMessage, onError, modelSelection } = params;
|
||||
if (modelSelection === null) {
|
||||
onError({ message: `Please add a provider in Void's Settings.`, fullError: null });
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue