mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
Merge pull request #460 from oTToDev-CE/ollama-model-not-respected
Ollama not respecting model selection
This commit is contained in:
commit
a0ba540b77
@ -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