File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1097,20 +1097,6 @@ def do_image(self, arg):
1097
1097
try :
1098
1098
msg = self ._current_thread [idx ]
1099
1099
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
- )
1114
1100
print (self .__class__ ._fragment ("Image added to {msg}" , msg ))
1115
1101
except IndexError :
1116
1102
print ("Message doesn't exist" )
You can’t perform that action at this time.
0 commit comments