mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-04 14:25:43 +02:00
dont default to ollama
This commit is contained in:
parent
7a9faca7c3
commit
821dbae5c3
1 changed files with 4 additions and 2 deletions
|
@ -145,8 +145,10 @@ export class Prompter {
|
||||||
profile.api = 'xai';
|
profile.api = 'xai';
|
||||||
else if (profile.model.includes('deepseek'))
|
else if (profile.model.includes('deepseek'))
|
||||||
profile.api = 'deepseek';
|
profile.api = 'deepseek';
|
||||||
else
|
else if (profile.model.includes('llama3'))
|
||||||
profile.api = 'ollama';
|
profile.api = 'ollama';
|
||||||
|
else
|
||||||
|
throw new Error('Unknown model:', profile.model);
|
||||||
}
|
}
|
||||||
return profile;
|
return profile;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue