NanoGPT: Add as captioning source

This commit is contained in:
Cohee
2025-08-31 19:00:27 +03:00
parent 5eea41d315
commit 285b09ceb7
5 changed files with 45 additions and 11 deletions
+4
View File
@@ -247,6 +247,10 @@ function throwIfInvalidModel(useReverseProxy) {
if (multimodalApi === 'moonshot' && !secret_state[SECRET_KEYS.MOONSHOT]) {
throw new Error('Moonshot AI API key is not set.');
}
if (multimodalApi === 'nanogpt' && !secret_state[SECRET_KEYS.NANOGPT]) {
throw new Error('NanoGPT API key is not set.');
}
}
/**