Add warning message for Custom GPT setting override in options. see #277 #168

This commit is contained in:
Mic 2025-04-30 22:29:35 +02:00
parent e99b030033
commit d4aac5cb14
3 changed files with 8 additions and 2 deletions

View file

@ -1430,5 +1430,9 @@
"customPrompts_show_additional_info_show": {
"message": "Additional properties",
"description": ""
},
"prefs_OptionText_CustomGPT_Warn": {
"message": "If a Project is specified in the options or in a prompt, it will override the Custom GPT setting.",
"description": ""
}
}

View file

@ -155,6 +155,7 @@
<label>
<input type="text" id="chatgpt_web_custom_gpt" name="chatgpt_web_custom_gpt" class="option-input" />
<br>__MSG_prefs_OptionText_chatgpt_web_custom_gpt_info__
<br>__MSG_prefs_OptionText_CustomGPT_Warn__
</label>
</td>
</tr>

View file

@ -644,7 +644,8 @@ function loadPromptsList(values){
<br>
<input type="text" id="chatgpt_web_custom_gpt_` + values.id + `" class="input_additional chatgpt_web_custom_gpt_output" tabindex="11" value="` + values.chatgpt_web_custom_gpt + `">
<br><i class="small_info" id="chatgpt_web_custom_gpt_` + values.id + `_info">__MSG_prefs_OptionText_chatgpt_web_custom_data_info__ <b>/g/CUSTOM_GPT_ID</b>
<br>__MSG_prefs_OptionText_chatgpt_web_custom_data_info2__</i>
<br>__MSG_prefs_OptionText_chatgpt_web_custom_data_info2__
<br>__MSG_prefs_OptionText_CustomGPT_Warn__</i>
</div>
</td>
<td class="w08"><span class="field_title_s">__MSG_customPrompts_add_to_menu__:</span>