Export resolveSecretKey

ec428fd82f0ac3fd2ddd02f1c795fa2ef7e2d44f

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/secrets.js+1 -1
@@ -150,7 +150,7 @@ const getLabel = () => moment().format('L LT');
150150 * Resolves the secret key based on the selected API, chat completion source, and text completion type.
151151 * @returns {string|null} The secret key corresponding to the selected API, or null if no key is found.
152152 */
153153export function resolveSecretKey() {
154154 const { mainApi, chatCompletionSettings, textCompletionSettings } = SillyTavern.getContext();
155155 const chatCompletionSource = chatCompletionSettings.chat_completion_source;
156156 const textCompletionType = textCompletionSettings.type;