add ChatGPT store option to settings and UI. see #406
This commit is contained in:
parent
d2512a5ef7
commit
df4e0bb139
3 changed files with 22 additions and 0 deletions
|
|
@ -1539,5 +1539,13 @@
|
|||
"apiwebchat_selection_info": {
|
||||
"message": "If you select some text, only that portion will be considered.",
|
||||
"description": ""
|
||||
},
|
||||
"ChatGPT_StoreFlag": {
|
||||
"message": "Use storage",
|
||||
"description": ""
|
||||
},
|
||||
"ChatGPT_StoreFlag_info": {
|
||||
"message": "If checked, your chats will be stored by OpenAI.",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
|
@ -30,6 +30,7 @@ export const prefs_default = {
|
|||
chatgpt_web_project: '',
|
||||
chatgpt_web_custom_gpt: '',
|
||||
chatgpt_api_key: '',
|
||||
chatgpt_api_store: false,
|
||||
chatgpt_model: '',
|
||||
chatgpt_developer_messages: '',
|
||||
ollama_host: '',
|
||||
|
|
|
|||
|
|
@ -217,6 +217,19 @@
|
|||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="conntype_chatgpt_api">
|
||||
<td>
|
||||
<label>
|
||||
<span class="opt_title">__MSG_ChatGPT_StoreFlag__</span>
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="checkbox" id="chatgpt_api_store" name="chatgpt_api_store" class="option-input" />
|
||||
<span>__MSG_ChatGPT_StoreFlag_info__</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="conntype_chatgpt_api">
|
||||
<td>
|
||||
<label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue