openai_comp remote server info added. fixes #263

This commit is contained in:
mic 2025-02-23 22:45:54 +01:00
parent d8b52a7b9f
commit ccf7c51a8c
3 changed files with 13 additions and 4 deletions

View file

@ -695,6 +695,10 @@
"message": "If checked, the \"v1\" segment in the path of API calls will be kept, like \"http://localhost:1234/v1/chat/completions\".",
"description": ""
},
"prefs_OptionText_openai_comp_info_remote": {
"message": "Here you can insert also a remote server address.",
"description": ""
},
"prefs_OptionText_owl_warning": {
"message": "It appears that at least one of your accounts is using the Owl for Exchange add-on. There is a known issue between Thunderbird and Owl, which is currently being addressed. At this time, you can use ThunderAI while composing emails, but not when reading them.",
"description": ""

View file

@ -88,6 +88,10 @@ div#miczTranslate{
margin-bottom: 1em;
}
.small_info{
font-size:smaller;
}
tr.conntype_chatgpt_api, tr.conntype_chatgpt_api2{
background-color: rgb(185, 220, 252);
}

View file

@ -120,7 +120,7 @@
<tr class="conntype_chatgpt_web">
<td><label>
<span>__MSG_prefs_OptionText_chatgpt_web_model__</span>
<br><table title="__MSG_prefs_OptionText_chatgpt_web_model_tooltip__"><tr><td><i style="font-size:smaller;"><nobr>__MSG_AllowedValues__:</nobr></i></td><td><i style="font-size:smaller;"> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4o</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4o-mini</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">o1-mini</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">o1-preview</nobr></i></td></tr></table>
<br><table title="__MSG_prefs_OptionText_chatgpt_web_model_tooltip__"><tr><td><i class="small_info"><nobr>__MSG_AllowedValues__:</nobr></i></td><td><i class="small_info"> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4o</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4o-mini</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">gpt-4</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">o1-mini</nobr> &nbsp; <nobr class="conntype_chatgpt_web_option">o1-preview</nobr></i></td></tr></table>
</label></td>
<td>
<label>
@ -231,7 +231,7 @@
<tr class="conntype_ollama_api">
<td><label>
<span>__MSG_prefs_API_Host__</span>
<br><i style="font-size:smaller;">__MSG_prefs_API_Host_Info__ http://127.0.0.1:11434</i>
<br><i class="small_info">__MSG_prefs_API_Host_Info__ http://127.0.0.1:11434</i>
</label></td>
<td>
<label>
@ -256,11 +256,12 @@
<tr class="conntype_openai_comp_api">
<td><label>
<span>__MSG_prefs_API_Host__</span>
<br><i style="font-size:smaller;">__MSG_prefs_API_Host_Info__ http://localhost:1234</i>
<br><i class="small_info">__MSG_prefs_API_Host_Info__ http://localhost:1234</i>
</label></td>
<td>
<label>
<input type="text" id="openai_comp_host" name="openai_comp_host" class="option-input" />
<br><i class="small_info">__MSG_prefs_OptionText_openai_comp_info_remote__</i>
</label>
</td>
</tr>
@ -278,7 +279,7 @@
<tr class="conntype_openai_comp_api">
<td><label>
<span>__MSG_prefs_OpenAIComp_API_Key__</span>
<br><i style="font-size:smaller;">__MSG_Optional__</i>
<br><i class="small_info">__MSG_Optional__</i>
</label></td>
<td>
<div class="api_key-container">