mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Merge pull request #8 from danialsamiei/devin/1771272361-fix-unused-var
Fix build: remove unused onAbort variable
This commit is contained in:
commit
7a7c654f2e
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