mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Update constants.ts
This commit is contained in:
parent
eb7676577d
commit
416f7f9097
@ -283,9 +283,11 @@ const getOllamaBaseUrl = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function getOllamaModels(): Promise<ModelInfo[]> {
|
async function getOllamaModels(): Promise<ModelInfo[]> {
|
||||||
//if (typeof window === 'undefined') {
|
/*
|
||||||
//return [];
|
* if (typeof window === 'undefined') {
|
||||||
//}
|
* return [];
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const baseUrl = getOllamaBaseUrl();
|
const baseUrl = getOllamaBaseUrl();
|
||||||
|
Loading…
Reference in New Issue
Block a user