mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 21:43:59 +01:00
fix: custom api
This commit is contained in:
parent
eeccf01ec2
commit
2be846f9df
|
@ -35,7 +35,7 @@ const useSubmit = () => {
|
|||
if (apiFree) {
|
||||
stream = await getChatCompletionStreamFree(messages);
|
||||
} else if (apiKey) {
|
||||
stream = await getChatCompletionStreamFree(messages);
|
||||
stream = await getChatCompletionStreamCustom(apiKey, messages);
|
||||
}
|
||||
|
||||
if (stream) {
|
||||
|
|
Loading…
Reference in a new issue