Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 36 additions & 8 deletions addon/globalPlugins/openai/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,42 @@
# - https://docs.mistral.ai/platform/endpoints/
# - https://openrouter.ai/api/v1/models
MODELS = [
Model(
"OpenAI",
"gpt-5",
# Translators: This is a model description
_("Fastest, most cost-efficient version of GPT-5"),
400000,
128000,
vision=True
),
Model(
"OpenAI",
"gpt-5-mini",
# Translators: This is a model description
_("Fastest, most cost-efficient version of GPT-5"),
400000,
128000,
vision=True
),
Model(
"OpenAI",
"gpt-5-nano",
# Translators: This is a model description
_("Fastest, most cost-efficient version of GPT-5"),
400000,
128000,
vision=True
),
Model(
"OpenAI",
"gpt-5-chat-latest",
# Translators: This is a model description
_("GPT-5 model used in ChatGPT"),
400000,
128000,
vision=True
),
Model(
"OpenAI",
"gpt-4.1",
Expand Down Expand Up @@ -246,14 +282,6 @@
8192,
8192
),
Model(
"OpenAI",
"gpt-4-32k-0613",
# Translators: This is a model description
_("Same capabilities as the standard gpt-4 mode but with 4x the context length"),
32768,
8192
),
Model(
"MistralAI",
"open-mistral-7b",
Expand Down
4 changes: 2 additions & 2 deletions addon/globalPlugins/openai/maindialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,9 @@ def _refreshModelsList(self, model_to_select=None):
for i, model in enumerate(self._models):
display_name = model.name
if model.reasoning:
display_name = "🤔 " + display_name
display_name = display_name + " 🤔"
if model.id in ["gpt-4o-search-preview", "gpt-4o-mini-search-preview"]:
display_name = "🔍 " + display_name
display_name = display_name + " 🔍"

self.modelsListCtrl.InsertItem(i, display_name)
self.modelsListCtrl.SetItem(i, 1, model.provider)
Expand Down