We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb8597 commit 4402f0eCopy full SHA for 4402f0e
src/lib/AbstractChatCompletionRunner.ts
@@ -252,6 +252,8 @@ export abstract class AbstractChatCompletionRunner<
252
return message.function_call;
253
}
254
255
+
256
+ return;
257
258
259
/**
@@ -270,6 +272,8 @@ export abstract class AbstractChatCompletionRunner<
270
272
return message.content as string;
271
273
274
275
276
277
278
279
async finalFunctionCallResult(): Promise<string | undefined> {
tsconfig.json
@@ -27,6 +27,7 @@
27
"strictBindCallApply": true,
28
"strictPropertyInitialization": true,
29
"noImplicitThis": true,
30
+ "noImplicitReturns": true,
31
"alwaysStrict": true,
32
"exactOptionalPropertyTypes": true,
33
"noUncheckedIndexedAccess": true,
0 commit comments