Merge branch 'Yidadaa:main' into main
This commit is contained in:
commit
db4b808257
|
@ -179,7 +179,7 @@ export class ChatGPTApi implements LLMApi {
|
||||||
options.onFinish(message);
|
options.onFinish(message);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("[Request] failed to make a chat reqeust", e);
|
console.log("[Request] failed to make a chat request", e);
|
||||||
options.onError?.(e as Error);
|
options.onError?.(e as Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue