liniting fix

Fixes linting issues
This commit is contained in:
Dustin Loring
2024-12-01 05:44:20 -05:00
parent eb7676577d
commit cb1fd38df6
5 changed files with 25540 additions and 7 deletions

View File

@@ -283,9 +283,11 @@ const getOllamaBaseUrl = () => {
};
async function getOllamaModels(): Promise<ModelInfo[]> {
//if (typeof window === 'undefined') {
//return [];
//}
/*
* if (typeof window === 'undefined') {
* return [];
* }
*/
try {
const baseUrl = getOllamaBaseUrl();