File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 3434from models .openai_model import Model
3535
3636
37- __version__ = "12.3.8 "
37+ __version__ = "12.3.9 "
3838
3939
4040PID_FILE = Path ("bot.pid" )
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ async def get_function_calling_models(ctx: discord.AutocompleteContext):
9797 "gpt-3.5-turbo-1106" ,
9898 "gpt-3.5-turbo-0613" ,
9999 "gpt-4-turbo-preview" ,
100+ "gpt-4-turbo" ,
101+ "gpt-4o"
102+
100103 ]
101104
102105 async def get_models (
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ class Models:
7373 GPT_4_TURBO = "gpt-4-1106-preview"
7474 GPT_4_TURBO_VISION = "gpt-4-vision-preview"
7575 GPT_4_TURBO_CATCHALL = "gpt-4-turbo-preview"
76+ GPT_4_TURBO_REGULAR = "gpt-4-turbo"
77+ GPT_4_OMEGA = "gpt-4o"
7678
7779 # Model collections
7880 TEXT_MODELS = [
@@ -89,6 +91,8 @@ class Models:
8991 GPT_4_TURBO ,
9092 GPT_4_TURBO_VISION ,
9193 GPT_4_TURBO_CATCHALL ,
94+ GPT_4_TURBO_REGULAR ,
95+ GPT_4_OMEGA ,
9296 ]
9397 CHATGPT_MODELS = [
9498 TURBO ,
@@ -99,6 +103,8 @@ class Models:
99103 GPT_4_TURBO_VISION ,
100104 GPT_4_TURBO ,
101105 GPT_4_TURBO_CATCHALL ,
106+ GPT_4_TURBO_REGULAR ,
107+ GPT_4_OMEGA ,
102108 ]
103109 GPT4_MODELS = [
104110 GPT4 ,
@@ -108,6 +114,8 @@ class Models:
108114 GPT_4_TURBO_VISION ,
109115 GPT_4_TURBO ,
110116 GPT_4_TURBO_CATCHALL ,
117+ GPT_4_TURBO_REGULAR ,
118+ GPT_4_OMEGA ,
111119 ]
112120 EDIT_MODELS = [EDIT ]
113121
@@ -129,6 +137,8 @@ class Models:
129137 GPT_4_TURBO_VISION : 128000 ,
130138 GPT_4_TURBO : 128000 ,
131139 GPT_4_TURBO_CATCHALL : 128000 ,
140+ GPT_4_TURBO_REGULAR : 128000 ,
141+ GPT_4_OMEGA : 128000 ,
132142 }
133143
134144 @staticmethod
You can’t perform that action at this time.
0 commit comments