added debug option. see #106
This commit is contained in:
parent
41d3c167b6
commit
ea35d95d25
3 changed files with 20 additions and 0 deletions
|
|
@ -434,5 +434,13 @@
|
|||
"chagtp_api_connecting": {
|
||||
"message": "Will attempt to connect to OpenAI ChatGPT using the API key provided...",
|
||||
"description": ""
|
||||
},
|
||||
"Debug": {
|
||||
"message": "Debug",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_do_debug_info": {
|
||||
"message": "Activate the debug system",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
export const prefs_default = {
|
||||
do_debug: false,
|
||||
chatgpt_win_height: 800,
|
||||
chatgpt_win_width: 700,
|
||||
chatpgt_use_gpt4: false,
|
||||
|
|
|
|||
|
|
@ -111,6 +111,17 @@
|
|||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label>
|
||||
<span>__MSG_Debug__</span>
|
||||
</label></td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="checkbox" id="do_debug" name="do_debug" class="option-input" />
|
||||
<span>__MSG_prefs_OptionText_do_debug_info__</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="btn_custom_prompts">
|
||||
<button id="btnManagePrompts">__MSG_prefs_OptionText_btnManagePrompts__</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue