mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-06 23:35:39 +02:00
Merge branch 'kolbytn:main' into main
This commit is contained in:
commit
b4f5b5bed6
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