Wed Jul 5 08:17:00 UTC 2023 inscode

上级 d6d4ca57
......@@ -163,19 +163,6 @@ export default {
indexClient: null,
prompt: '',
config: {
user_img: "",
robot_img: "",
user_call_name: "xxx",
width: 512,
// api_url: 'https://inscode-ide.node.inscode.run:8000/v1',
// index_url: 'http://127.0.0.1:8000/search',
// index_name: 'datasea',
// api_prompt_prefix: '',
// max_tokens: 2048,
// prompt_template: "Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer.\n" +
// "{context}\n"+
// "Question: {question}\n"+
// "Helpful Answer:"
},
loading: false,
maxHistory: 200,
......@@ -452,6 +439,9 @@ export default {
this.recoveryHistory()
this.getAppInfo()
// this.getAvatar()
if (this.mode === 'draw') {
this.prompt = this.default_prompt
}
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册