feat(app): lint & format
This commit is contained in:
parent
c521b032a7
commit
ff34d1043f
|
@ -59,7 +59,9 @@ const useSocket = (
|
|||
chatModelProvider = Object.keys(chatModelProviders)[0];
|
||||
|
||||
if (chatModelProvider === 'custom_openai') {
|
||||
toast.error('Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL');
|
||||
toast.error(
|
||||
'Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL',
|
||||
);
|
||||
setError(true);
|
||||
return;
|
||||
} else {
|
||||
|
@ -192,7 +194,7 @@ const useSocket = (
|
|||
if (data.type === 'error') {
|
||||
toast.error(data.data);
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
setWs(ws);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue