Merge branch 'kolbytn:main' into main

This commit is contained in:
Copper 2025-02-17 15:56:11 -08:00 committed by GitHub
commit b4f5b5bed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,8 +145,10 @@ export class Prompter {
profile.api = 'xai';
else if (profile.model.includes('deepseek'))
profile.api = 'deepseek';
else
profile.api = 'ollama';
else if (profile.model.includes('llama3'))
profile.api = 'ollama';
else
throw new Error('Unknown model:', profile.model);
}
return profile;
}