chore: api update

This commit is contained in:
14790897 2024-02-29 15:54:24 +08:00
parent 1cf4c37295
commit 35dbdcc2b2
3 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@
"vv佬": "vv giant(Recommended)", "vv佬": "vv giant(Recommended)",
"官网反代": "Official website reverse proxy", "官网反代": "Official website reverse proxy",
"蒙恬大将军": "Mengtian General(Recommended)", "蒙恬大将军": "Mengtian General(Recommended)",
"oneapi": "oneapi",
"custom": "Custom" "custom": "Custom"
}, },
"鼠标点击段落中的上标跳转到文献引用?": "Click the superscript in the paragraph to jump to the reference?", "鼠标点击段落中的上标跳转到文献引用?": "Click the superscript in the paragraph to jump to the reference?",

View File

@ -36,6 +36,7 @@
"官网反代": "官网反代", "官网反代": "官网反代",
"vv佬": "vv佬(推荐)", "vv佬": "vv佬(推荐)",
"蒙恬大将军": "蒙恬大将军(推荐)", "蒙恬大将军": "蒙恬大将军(推荐)",
"oneapi": "oneapi",
"custom": "自定义" "custom": "自定义"
}, },
"鼠标点击段落中的上标跳转到文献引用?": "鼠标点击段落中的上标跳转到文献引用?", "鼠标点击段落中的上标跳转到文献引用?": "鼠标点击段落中的上标跳转到文献引用?",

View File

@ -10,10 +10,10 @@ export interface APIState {
} }
const initialState: APIState = { const initialState: APIState = {
apiKey: "sk-MaEuOo9qIeWKK3PRCdCb9b3d47E64e36Ad6022724b780592", //sk-ffe19ebe9fa44d00884330ff1c18cf82 apiKey: "sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe", //sk-ffe19ebe9fa44d00884330ff1c18cf82
referencesRedux: [], referencesRedux: [],
editorContent: "", editorContent: "",
upsreamUrl: "https://one.caifree.com", //https://api.openai.com https://one.caifree.com https://chatserver.3211000.xyz https://api.deepseek.com upsreamUrl: "https://one.liuweiqing.top", //https://api.openai.com https://one.caifree.com https://chatserver.3211000.xyz https://api.deepseek.com
systemPrompt: `作为论文写作助手,您的主要任务是根据用户提供的研究主题和上下文,以及相关的研究论文,来撰写和完善学术论文。在撰写过程中,请注意以下要点: systemPrompt: `作为论文写作助手,您的主要任务是根据用户提供的研究主题和上下文,以及相关的研究论文,来撰写和完善学术论文。在撰写过程中,请注意以下要点:
1.使 1.使
2.使 [1]***[1]* 2.使 [1]***[1]*