mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-05 20:46:43 +00:00
fix
This commit is contained in:
parent
802293fc20
commit
61c2a8b325
@ -283,9 +283,9 @@ const getOllamaBaseUrl = () => {
|
||||
};
|
||||
|
||||
async function getOllamaModels(): Promise<ModelInfo[]> {
|
||||
if (typeof window === 'undefined') {
|
||||
return [];
|
||||
}
|
||||
//if (typeof window === 'undefined') {
|
||||
//return [];
|
||||
//}
|
||||
|
||||
try {
|
||||
const baseUrl = getOllamaBaseUrl();
|
||||
|
Loading…
Reference in New Issue
Block a user