NanoGPT: Add as captioning source
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user