Skip to content

Commit 64b2623

Browse files
committed
1.5 添加 gpt-4o 模型支持
1 parent a720655 commit 64b2623

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# For a discussion on single-sourcing the version across setup.py and the
3838
# project code, see
3939
# https://packaging.python.org/en/latest/single_source_version.html
40-
version='1.4', # Required. eg. 1.2.3
40+
version='1.5', # Required. eg. 1.2.3
4141

4242
# This is a one-line description or tagline of what your project does. This
4343
# corresponds to the "Summary" metadata field:

src/transgpt/trans_chatgpt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
CHATGPT_35_TURBO = "gpt-3.5-turbo"
2020
CHATGPT_4 = "gpt-4" # 8K
2121
CHATGPT_4_TRUBO = "gpt-4-1106-preview" # 128K
22+
CHATGPT_4o = "gpt-4o" # 128K
2223

2324
ARG_ROLE = 'role'
2425
ARG_OPENAI_MODEL = 'openai_model'

0 commit comments

Comments
 (0)