"...composable_kernel.git" did not exist on "e576c0819f14ec43d5d3b49f1faae719326aa502"
Commit f8cf43c0 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: console logs removed

parent 42251c23
...@@ -150,7 +150,6 @@ export const getOpenAIModels = async (token: string = '') => { ...@@ -150,7 +150,6 @@ export const getOpenAIModels = async (token: string = '') => {
return res.json(); return res.json();
}) })
.catch((err) => { .catch((err) => {
console.log(err);
error = `OpenAI: ${err?.error?.message ?? 'Network Problem'}`; error = `OpenAI: ${err?.error?.message ?? 'Network Problem'}`;
return []; return [];
}); });
......
...@@ -104,13 +104,8 @@ ...@@ -104,13 +104,8 @@
await cancelChatCompletion(localStorage.token, currentRequestId); await cancelChatCompletion(localStorage.token, currentRequestId);
currentRequestId = null; currentRequestId = null;
} }
window.history.replaceState(history.state, '', `/`); window.history.replaceState(history.state, '', `/`);
console.log('initNewChat');
await chatId.set(''); await chatId.set('');
console.log($chatId);
autoScroll = true; autoScroll = true;
...@@ -121,8 +116,6 @@ ...@@ -121,8 +116,6 @@
currentId: null currentId: null
}; };
console.log($config);
if ($page.url.searchParams.get('models')) { if ($page.url.searchParams.get('models')) {
selectedModels = $page.url.searchParams.get('models')?.split(','); selectedModels = $page.url.searchParams.get('models')?.split(',');
} else if ($settings?.models) { } else if ($settings?.models) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment