Skip to content

Commit

Permalink
将默认模型更改为官网推荐的GPT-4o-mini (#1148)
Browse files Browse the repository at this point in the history
GPT-4o mini 不仅性能更优,价格也比 GPT-3.5 Turbo 便宜了 60%,每百万输入 token 为 15 美分,每百万输出 token 为 60 美分。
  • Loading branch information
BigDataMao authored Jul 29, 2024
1 parent ee2daa3 commit 75bbf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def update_doc_config(two_column_pdf):
assert server_port is None or type(server_port) == int, "要求port设置为int类型"

# 设置默认model
default_model = config.get("default_model", "GPT3.5 Turbo")
default_model = config.get("default_model", "GPT-4o-mini")
try:
if default_model in presets.MODELS:
presets.DEFAULT_MODEL = presets.MODELS.index(default_model)
Expand Down

0 comments on commit 75bbf01

Please sign in to comment.