Merge pull request #3024 from dylan1951/add-nano-gpt-provider

Add NanoGPT chat completions provider
This commit is contained in:
Cohee
2024-10-31 19:30:24 +02:00
committed by GitHub
9 changed files with 142 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ export const SECRET_KEYS = {
STABILITY: 'api_key_stability',
BLOCKENTROPY: 'api_key_blockentropy',
CUSTOM_OPENAI_TTS: 'api_key_custom_openai_tts',
NANOGPT: 'api_key_nanogpt',
TAVILY: 'api_key_tavily',
};
@@ -68,6 +69,7 @@ const INPUT_MAP = {
[SECRET_KEYS.ZEROONEAI]: '#api_key_01ai',
[SECRET_KEYS.HUGGINGFACE]: '#api_key_huggingface',
[SECRET_KEYS.BLOCKENTROPY]: '#api_key_blockentropy',
[SECRET_KEYS.NANOGPT]: '#api_key_nanogpt',
};
async function clearSecret() {