mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add Perplexity as Chat Completion source
This commit is contained in:
@ -24,6 +24,7 @@ export const SECRET_KEYS = {
|
||||
KOBOLDCPP: 'api_key_koboldcpp',
|
||||
LLAMACPP: 'api_key_llamacpp',
|
||||
COHERE: 'api_key_cohere',
|
||||
PERPLEXITY: 'api_key_perplexity',
|
||||
};
|
||||
|
||||
const INPUT_MAP = {
|
||||
@ -49,6 +50,7 @@ const INPUT_MAP = {
|
||||
[SECRET_KEYS.KOBOLDCPP]: '#api_key_koboldcpp',
|
||||
[SECRET_KEYS.LLAMACPP]: '#api_key_llamacpp',
|
||||
[SECRET_KEYS.COHERE]: '#api_key_cohere',
|
||||
[SECRET_KEYS.PERPLEXITY]: '#api_key_perplexity',
|
||||
};
|
||||
|
||||
async function clearSecret() {
|
||||
|
Reference in New Issue
Block a user