forked from open-webui/open-webui
refac: console logs removed
This commit is contained in:
parent
42251c232a
commit
f8cf43c0f7
2 changed files with 0 additions and 8 deletions
|
@ -150,7 +150,6 @@ export const getOpenAIModels = async (token: string = '') => {
|
|||
return res.json();
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
error = `OpenAI: ${err?.error?.message ?? 'Network Problem'}`;
|
||||
return [];
|
||||
});
|
||||
|
|
|
@ -104,13 +104,8 @@
|
|||
await cancelChatCompletion(localStorage.token, currentRequestId);
|
||||
currentRequestId = null;
|
||||
}
|
||||
|
||||
window.history.replaceState(history.state, '', `/`);
|
||||
|
||||
console.log('initNewChat');
|
||||
|
||||
await chatId.set('');
|
||||
console.log($chatId);
|
||||
|
||||
autoScroll = true;
|
||||
|
||||
|
@ -121,8 +116,6 @@
|
|||
currentId: null
|
||||
};
|
||||
|
||||
console.log($config);
|
||||
|
||||
if ($page.url.searchParams.get('models')) {
|
||||
selectedModels = $page.url.searchParams.get('models')?.split(',');
|
||||
} else if ($settings?.models) {
|
||||
|
|
Loading…
Reference in a new issue