Skip to content

Commit 3890bc2

Browse files
committed
Now that the default model is vision-capable, remove the OpenAI-specific vision warning
1 parent 31f1b92 commit 3890bc2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/gptcmd/cli.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,20 +1097,6 @@ def do_image(self, arg):
10971097
try:
10981098
msg = self._current_thread[idx]
10991099
msg.attachments.append(img)
1100-
if (
1101-
not (
1102-
"gpt-4-turbo" in self._account.provider.model
1103-
or "gpt-4o" in self._account.provider.model
1104-
or "vision" in self._account.provider.model
1105-
)
1106-
and "gpt-4-turbo" in self._account.provider.valid_models
1107-
):
1108-
print(
1109-
"Warning! The selected model may not support vision. "
1110-
"If sending this conversation fails, try switching to a "
1111-
"vision-capable model with the following command:\n"
1112-
"model gpt-4-turbo"
1113-
)
11141100
print(self.__class__._fragment("Image added to {msg}", msg))
11151101
except IndexError:
11161102
print("Message doesn't exist")

0 commit comments

Comments
 (0)