diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index d6fef07e..dc5e251a 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -776,10 +776,6 @@
"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": ""
},
- "prefs_OptionText_chatgpt_web_model_tooltip": {
- "message": "Click on a value to set it.",
- "description": ""
- },
"prompt_reply_full_text": {
"message": "Reply to the following email. Reply with only the needed text and with no extra comments or other text.",
"description": ""
diff --git a/js/mzta-utils.js b/js/mzta-utils.js
index ce5dc9d4..003733f4 100644
--- a/js/mzta-utils.js
+++ b/js/mzta-utils.js
@@ -18,7 +18,6 @@
import { prefs_default, getDynamicSettingValue } from '../options/mzta-options-default.js';
const sparks_min = '1.2.0'; // Minimum version of ThunderAI-Sparks required for the add-on to work
-export const ChatGPTWeb_models = ['gpt-5','gpt-5-instant','gpt-5-t-mini','gpt-5-thinking']; // List of models available in ChatGPT Web
const MICZ_IT_LOCALIZED_LANGS = ['es', 'de', 'fr', 'it'];
export const getMenuContextCompose = () => 'compose_action_menu';
@@ -339,46 +338,6 @@ export function getGPTWebModelString(model) {
}
}
-export function getChatGPTWebModelsList_HTML(values, targetRowId) {
- const rowElement = document.getElementById(targetRowId);
- if (!rowElement) return;
-
- // Clears any existing td elements
- rowElement.innerHTML = '';
-
- // First TD: label
- const labelTd = document.createElement('td');
- const label = document.createElement('i');
- label.className = 'small_info';
- const labelNobr = document.createElement('nobr');
- labelNobr.textContent = browser.i18n.getMessage("AllowedValues") + ":";
- label.appendChild(labelNobr);
- labelTd.appendChild(label);
-
- // Second TD: values
- const valuesTd = document.createElement('td');
- const valuesContainer = document.createElement('i');
- valuesContainer.className = 'small_info';
-
- values.forEach(value => {
- const nbspBefore = document.createTextNode(' \u00A0 '); // " "
- const valueNobr = document.createElement('nobr');
- valueNobr.className = 'conntype_chatgpt_web_option';
- valueNobr.textContent = value;
- const nbspAfter = document.createTextNode(' \u00A0 ');
-
- valuesContainer.appendChild(nbspBefore);
- valuesContainer.appendChild(valueNobr);
- valuesContainer.appendChild(nbspAfter);
- });
-
- valuesTd.appendChild(valuesContainer);
-
- // Adds the td elements to the row
- rowElement.appendChild(labelTd);
- rowElement.appendChild(valuesTd);
-}
-
export function openTab(url){
// check if the tab is already there
browser.tabs.query({url: browser.runtime.getURL(url)}).then((tabs) => {
diff --git a/options/mzta-options.css b/options/mzta-options.css
index 1515e0a0..df76bdc0 100644
--- a/options/mzta-options.css
+++ b/options/mzta-options.css
@@ -39,10 +39,6 @@ table#miczPrefs td.nt{
border-top: none;
}
-tr#chatgpt_web_models_list td{
- border: none;
-}
-
div#miczRelNotes{
position:absolute;
right: 0px;
diff --git a/options/mzta-options.js b/options/mzta-options.js
index 0567e870..c54620ea 100644
--- a/options/mzta-options.js
+++ b/options/mzta-options.js
@@ -24,10 +24,8 @@ import {
} from './mzta-options-default.js';
import { taLogger } from '../js/mzta-logger.js';
import {
- ChatGPTWeb_models,
checkSparksPresence,
openTab,
- getChatGPTWebModelsList_HTML,
isAPIKeyValue,
getConnectionType,
setTomSelectBorder,
@@ -436,7 +434,6 @@ document.addEventListener('DOMContentLoaded', async () => {
openTab('/pages/get-task/mzta-get-task.html');
});
- getChatGPTWebModelsList_HTML(ChatGPTWeb_models, 'chatgpt_web_models_list');
document.querySelectorAll(".conntype_chatgpt_web_option").forEach(element => {
element.addEventListener("click", () => {
let el = document.getElementById("chatgpt_web_model");
diff --git a/pages/_lib/connection-ui.js b/pages/_lib/connection-ui.js
index 5ff56863..80c8ec1c 100644
--- a/pages/_lib/connection-ui.js
+++ b/pages/_lib/connection-ui.js
@@ -104,7 +104,6 @@ export async function injectConnectionUI({
|
|