save api to chat template

This commit is contained in:
2025-01-07 18:59:30 +08:00
parent a4b8ed441c
commit 001eca79f6

View File

@@ -944,14 +944,6 @@ export default (props: {}) => {
ctx.chatStore
);
tmp.history = tmp.history.filter((h) => h.example);
tmp.apiEndpoint = "";
tmp.apiKey = "";
tmp.whisper_api = "";
tmp.whisper_key = "";
tmp.tts_api = "";
tmp.tts_key = "";
tmp.image_gen_api = "";
tmp.image_gen_key = "";
// @ts-ignore
tmp.name = name;
ctx.templates.push(tmp as TemplateChatStore);