managing chatgpt apikey in the options
This commit is contained in:
parent
6b5f16dc91
commit
4a215d8961
2 changed files with 12 additions and 1 deletions
|
|
@ -23,5 +23,5 @@ export const prefs_default = {
|
|||
chatgpt_keep_formatting: false,
|
||||
default_chatgpt_lang: '',
|
||||
api_active: false,
|
||||
api_key: '',
|
||||
api_key_chatgpt: '',
|
||||
}
|
||||
|
|
@ -92,6 +92,17 @@
|
|||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label>
|
||||
<span>API Key</span>
|
||||
</label></td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="text" id="api_key_chatgpt" name="api_key_chatgpt" class="option-input" />
|
||||
<span>Use that OpenAI API!</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="btn_custom_prompts">
|
||||
<button id="btnManagePrompts">__MSG_prefs_OptionText_btnManagePrompts__</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue