Skip to content

Commit 74426a5

Browse files
committed
Add additional return
1 parent 8fd7d49 commit 74426a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chat/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function streamModelResponse(
140140

141141
stream.progress(`Using ${chosenProvider}...`);
142142

143-
await chatRequest(chosenProvider, messages, {}, token, stream);
143+
return chatRequest(chosenProvider, messages, {}, token, stream);
144144
}
145145

146146
async function selectProviderAndModel() {

0 commit comments

Comments
 (0)