From 0a8e0e342a2666b343f1073b194f792d68cd4ae3 Mon Sep 17 00:00:00 2001 From: 622aa39c1f9b166ab1a38c05 <622aa39c1f9b166ab1a38c05@devide> Date: Wed, 5 Jul 2023 08:17:00 +0000 Subject: [PATCH] Wed Jul 5 08:17:00 UTC 2023 inscode --- src/App.vue | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/App.vue b/src/App.vue index c3218ac..bb6972f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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 + } } }; -- GitLab